Re: awakeFromFetch Called Multiple Times
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