Chaitanya,
What is the best way to re-insert a deleted object back in to the
managed object context?
-insertObject: will reinsert a deleted object. -insertObject and -
deleteObject will cancel each other out.
Typically, one wouldn't validateForInsert until after reinserting the
object,
Hi List,
What is the best way to re-insert a deleted object back in to the
managed object context?
At present i'm trying to this:
if ([objectToReinstate validateForInsert:error])
[[self managedObjectContext] insertObject:objectToReinstate];
But i am having problems with objects having