[self.managedObjectContext deleteObject: self];

[self.managedObjectContext deleteObject:self]; 

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

+4
source share
1 answer

Not. The object will be deleted from the MOC when it is synchronized, and not now.

+6
source

Source: https://habr.com/ru/post/1299880/


All Articles