08 Jun 2014, 17:54
Generic-user-small

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.

01 Jul 2014, 20:15
Avatarsmall_pragsmall

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.

29 Jul 2014, 20:16
Generic-user-small

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.

27 Aug 2014, 18:38
Avatarsmall_pragsmall

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