How to work with 1 to 1 relationship in core data?

0

How do I perform operations relating entities in Core Data?  These operations will relate data between 2 entities, being type 1 to 1.

I want to relate the image attribute of table 1 to the image path field of table 2.

Example:

Iwouldliketoknowifthiswillcausetheimagefieldoftable1to"save" the value contained in the image path field of table 2 ... or equivalent?

If anyone knows a link to a good tutorial explaining this in detail will be welcome too!

    
asked by anonymous 28.01.2015 / 16:29

1 answer

0

I circumvented this questioning, doing a fetch of the data and doing a comparison between them, and adding the value in the in a certain field, as soon as the value "flag" of the object was found.     

31.01.2015 / 22:47