• 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 capabilities questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data capabilities questions


  • Subject: Re: Core Data capabilities questions
  • From: mmalc Crawford <email@hidden>
  • Date: Sun, 21 Jun 2009 18:12:54 -0700


On Jun 21, 2009, at 5:56 PM, Rick Mann wrote:

Is there also a way to tell Core Data to release objects it has currently allocated?


"A managed object's lifetime is by default determined by the run loop— autoreleased managed objects will be deallocated when the run loop's autorelease pool is released.
The exception to this rule is that a managed object context maintains a strong reference to (in a managed memory environment it retains) any changed (inserted, deleted, and updated) objects until the pending transaction is committed (with a save:) or discarded (with a reset or rollback)."


<http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdMemory.html#//apple_ref/doc/uid/TP40001860 >

mmalc

_______________________________________________

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 capabilities questions (From: Rick Mann <email@hidden>)
 >Re: Core Data capabilities questions (From: Kyle Sluder <email@hidden>)
 >Re: Core Data capabilities questions (From: mmalc Crawford <email@hidden>)
 >Re: Core Data capabilities questions (From: Rick Mann <email@hidden>)
 >Re: Core Data capabilities questions (From: Rick Mann <email@hidden>)

  • Prev by Date: Core Data Fetching Limitations?
  • Next by Date: Re: Show the dock icon's context menu:
  • Previous by thread: Re: Core Data capabilities questions
  • Next by thread: Re: Core Data capabilities questions
  • Index(es):
    • Date
    • Thread