Re: Core Data add object

2008-05-25 Thread mmalc crawford
On May 25, 2008, at 4:25 AM, Ivan C Myrvold wrote: Den 25. mai. 2008 kl. 13:08 skrev Ivan C Myrvold: I have a core data project with two entities, Call and CallEvent. In the Call entity, I have a to-many relationship to CallEvent. [...] I think I was too fast with my conclusion that it doesn't

Re: Core Data add object

2008-05-25 Thread Ivan C Myrvold
I think I was too fast with my conclusion that it doesn't work. I just looked at the warning I got, which says: "NSManagedObject may not respond to -addCallEventsObject". Ivan Den 25. mai. 2008 kl. 13:08 skrev Ivan C Myrvold: I have a core data project with two entities, Call and CallEvent

Re: Core Data add object

2008-05-25 Thread mmalc crawford
On May 25, 2008, at 4:08 AM, Ivan C Myrvold wrote: I now want to add the callevent object to thecall object. I see in the NSManagedObject subclass Call there is a method prepared for this, - (void)addCallEventsObject:(CallEvent *)value; simply doing [thecall addCallEventsObject:thecallevent];