small medium large xlarge

Generic-user-small
08 Jun 2014, 17:54
Didier Malenfant (2 posts)

Where does the ‘ppExportRelationship’ key come from in the example about exporting a recipe to XML?

I see it being tested against but, looking at the sample code, I can’t see where it is getting created or set anywhere.

Avatarsmall_pragsmall
01 Jul 2014, 20:15
Marcus S. Zarra (254 posts)

That key is defined in the Prefix.pch file. I tend to store all of my #define there so that they are exposed project wide.

Generic-user-small
29 Jul 2014, 20:16
Didier Malenfant (2 posts)

I should have worded my question more clearly.

I understand where the key is defined. My question is where is any value getting set for this key?

I can see the test for the value in moToDictionary: but I can’t see any code or data setting this value to anything.

Avatarsmall_pragsmall
27 Aug 2014, 18:38
Marcus S. Zarra (254 posts)

The value would be set in the model directly. If you select an entity in the model and open the Data Model Inspector you will see User Info. That is a list of key value pairs that are set directly into the model and can then be queried against.

  You must be logged in to comment