Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Core Data Managed Object with Custom Data Caches
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data Managed Object with Custom Data Caches



On Oct 31, 2009, at 10:12 AM, Jim Correia wrote:

Typically you set up the baseline value in -awakeFromFetch.

Is there a specific reason you need this to be undoable?

When the managed object is removed, didTurnIntoFault is called and the custom data caches are deleted. When the user does an undo on this action the managed object is fetched but awakeFromFetch is never called so the custom data caches are now missing.


Richard

_______________________________________________

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: 
 >Core Data Managed Object with Custom Data Caches (From: Richard Somers <email@hidden>)
 >Re: Core Data Managed Object with Custom Data Caches (From: Jim Correia <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.