Re: awakeFromFetch behaviour change in 10.12?
Re: awakeFromFetch behaviour change in 10.12?
- Subject: Re: awakeFromFetch behaviour change in 10.12?
- From: Kyle Sluder <email@hidden>
- Date: Mon, 25 Jul 2016 14:12:42 -0500
On Mon, Jul 25, 2016, at 09:14 AM, Sean McBride wrote:
> 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?
This does not sound like expected behavior. Could you please file a bug
report at https://bugreport.apple.com and attach a sample project if at
all possible?
Thanks,
--Kyle Sluder
>
> 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
_______________________________________________
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