Re: Core Data: inverse relationship not updated until next Run Loop

2010-03-12 Thread Eric Lin
I see. Thanks for both of your responses. Eric On Thu, Mar 11, 2010 at 10:26 PM, Frank Illenberger wrote: > >> In using Core Data, I was under the impression that if I do this: > >> > >> [department addEmployeesObject:employee] // department now has 1 > employee > >> [moc deleteObject:employee]

Core Data: inverse relationship not updated until next Run Loop

2010-03-11 Thread Eric Lin
In using Core Data, I was under the impression that if I do this: [department addEmployeesObject:employee] // department now has 1 employee [moc deleteObject:employee] Then department will end up with no employees, assuming that the inverse relationship is set correctly. But it turns out within