• 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: 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


  • Subject: Re: Core Data Managed Object with Custom Data Caches
  • From: Dave Fernandes <email@hidden>
  • Date: Sat, 31 Oct 2009 12:11:21 -0400

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


References: 
 >Core Data Managed Object with Custom Data Caches (From: Richard Somers <email@hidden>)

  • Prev by Date: RE: Cocoa bindings problem
  • Next by Date: Re: Core Data Managed Object with Custom Data Caches
  • Previous by thread: Core Data Managed Object with Custom Data Caches
  • Next by thread: Re: Core Data Managed Object with Custom Data Caches
  • Index(es):
    • Date
    • Thread