EntityOne has a one-to-one relationship with EntityTwo
therefore i should be able to go something like
however i get an error printed out to the console saying it can't create a set from entityTwo
so i tried giving entityOne.relatedToEntityTwo a set that contains just one instance of EntityTwo
and it prints out an error saying it's trying to call an unrecognized selected call managedContextObject on NSSet.
so... it wants a managed object but it wants it as a set??
the two classes that were created from the model diagram mention nothing about sets and the model diagram has no such to-many-relationships
I will note that there used to be a to-many-relationship where EntityOne contained many EntityTwo, but not now.
I cleaned the targets as well to make it compile from scratch but it still crashes
therefore i should be able to go something like
Code:
entityOne.relatedToEntityTwo = entityTwo
so i tried giving entityOne.relatedToEntityTwo a set that contains just one instance of EntityTwo
and it prints out an error saying it's trying to call an unrecognized selected call managedContextObject on NSSet.
so... it wants a managed object but it wants it as a set??
the two classes that were created from the model diagram mention nothing about sets and the model diagram has no such to-many-relationships
I will note that there used to be a to-many-relationship where EntityOne contained many EntityTwo, but not now.
I cleaned the targets as well to make it compile from scratch but it still crashes