• 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: awakeFromFetch Called Multiple Times
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: awakeFromFetch Called Multiple Times


  • Subject: Re: awakeFromFetch Called Multiple Times
  • From: "Sean McBride" <email@hidden>
  • Date: Wed, 28 Apr 2010 14:18:33 -0400
  • Organization: Rogue Research Inc.

On Mon, 26 Apr 2010 11:04:17 +0100, Milen Dzhumerov said:

>I've been under the impression that awakeFromFetch / awakeFromInsert
>were supposed to be called in pairs with will/didTurnIntoFault (i.e.,
>never have two consecutive awakeX calls). I'm now observing that
>awakeFromFetch is getting called twice in succession during a context
>merge and just wanted to ask whether it's normal for me to expect that
>behaviour (multiple awakeX calls in succession)? The docs do not mention
>anything specific on the subject.

Are you sure the successive awakeFromFetch calls are for the same
ManagedObject, or is it just that each ManagedObject is receiving an
awakeFromFetch (and therefore triggering your breakpoint many times)?

--
____________________________________________________________
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

References: 
 >awakeFromFetch Called Multiple Times (From: Milen Dzhumerov <email@hidden>)

  • Prev by Date: Re: Finder file label from cocoa?
  • Next by Date: Re: Creating temporary NSManagedObjects
  • Previous by thread: awakeFromFetch Called Multiple Times
  • Next by thread: How to add search filters like those in Finder?
  • Index(es):
    • Date
    • Thread