You can create a custom accessor and re-create the cache if it is not
present when the accessor is called.
On 2009-10-31, at 12:05 PM, Richard Somers wrote:
I have custom data caches associated with a managed object.
The documentation states didTurnIntoFault "method may be used to
clear out custom data caches". So far so good.
I was creating custom data caches in awakeFromFetch (or
awakeFromInsert) until I realized that awakeFromFetch does not
participate in undo. The documentation confirms that "change
processing is explicitly disabled around this method".
So Apple provides a way to remove custom data caches associated with
a managed object but no way to create them.
Any thoughts on this?
Richard
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/dave.fernandes%40utoronto.ca
This email sent to dave.fernan...@utoronto.ca
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com