Re: Removing object as observer in -willTurnIntoFault
Re: Removing object as observer in -willTurnIntoFault
- Subject: Re: Removing object as observer in -willTurnIntoFault
- From: Kyle Sluder <email@hidden>
- Date: Mon, 31 Mar 2014 00:06:28 -0700
On Mar 30, 2014, at 11:29 PM, Jerry Krinock <email@hidden> wrote:
>
> NSSnapshotEventRollback, if this is due to a deleted object being resurrected because the deletion was unsaved. Don't do anything, because you will also receive -awakeFromInsert. Seems weird, but that's what happens.
That directly contradicts the -awakeFromInsert documentation, which states “This method is invoked only once in the object's lifetime.”
If you are certain you are receiving -awakeFromInsert on the *same* NSManagedObject instance, you should definitely file a documentation bug.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden