I have two objects I need to create a relationship between in Core Data. I am not sure how to setup the relationship. When I try I then run my app it loops forever and crashes (guessing circular reference).
mainObject.h
NSString *userId;
NSString *thing;
NSString *descr;
NSString *title;
authObject.h
NSString *userId;
BOOL alive;
BOOL authCode;
How do I setup this relationship in CD? mainObject can have multiple authObjects. How do I relate userId on both objects to each other in CD?
I am using restkit and my scenario is identical to this
As for the CoreData side, I figured it out by reading through that post and filling in the gaps. Mainly, I had it pretty much right, but that post confirmed my suspicions.
Not sure how to mark this as answered.