Re: Core Data capabilities questions
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