• 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
awakeFromFetch behaviour change in 10.12?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

awakeFromFetch behaviour change in 10.12?


  • Subject: awakeFromFetch behaviour change in 10.12?
  • From: Sean McBride <email@hidden>
  • Date: Mon, 25 Jul 2016 10:14:25 -0400
  • Organization: Rogue Research Inc.

Hi all,

I'm observing that in 10.12 my awakeFromFetch methods are being called more than in 10.11 and earlier.  Specifically, it's called more than once for an object that's already been fetched previously.

Perhaps I have misunderstood the method's semantics all these years, but I expected that awakeFromFetch would only be called once, when an object is first awaken from the persistent store.

Now I'm seeing that if I execute a fetch request where returnsObjectsAsFaults=YES awakeFromFetch will be invoked on all the resulting objects, even if it'd been invoked before.

Does that seem correct to you?

Thanks,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________

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: awakeFromFetch behaviour change in 10.12?
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: kCFStreamPropertySSLSettingC
  • Next by Date: Re: kCFStreamPropertySSLSettingC
  • Previous by thread: Re: validateUserInterfaceItem not called
  • Next by thread: Re: awakeFromFetch behaviour change in 10.12?
  • Index(es):
    • Date
    • Thread