• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Removing object as observer in -willTurnIntoFault
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Removing object as observer in -willTurnIntoFault
      • From: Jerry Krinock <email@hidden>
References: 
 >Removing object as observer in -willTurnIntoFault (From: Jerry Krinock <email@hidden>)
 >Re: Removing object as observer in -willTurnIntoFault (From: Dado Colussi <email@hidden>)
 >Re: Removing object as observer in -willTurnIntoFault (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Removing object as observer in -willTurnIntoFault
  • Next by Date: Re: Removing object as observer in -willTurnIntoFault
  • Previous by thread: Re: Removing object as observer in -willTurnIntoFault
  • Next by thread: Re: Removing object as observer in -willTurnIntoFault
  • Index(es):
    • Date
    • Thread