views:

169

answers:

1
[self.managedObjectContext deleteObject:self];

Is there a problem, conceptually, with executing this line of code?

+6  A: 

No. The object will be removed from the MOC when it's synchronized, not now.

Graham Lee
Yeah, that's what I figured; that it's simply "marked" for deletion. I don't have much knowledge of NS internals, so I was just curious.
Oliver White