Re: Can't get NSManagedObject subclass to release objects
Re: Can't get NSManagedObject subclass to release objects
- Subject: Re: Can't get NSManagedObject subclass to release objects
- From: Jerry Krinock <email@hidden>
- Date: Fri, 09 Aug 2013 07:58:56 -0700
On 2013 Aug 09, at 06:53, Dave Fernandes <email@hidden> wrote:
> However, you CAN force it to turn managed objects into faults. Then in your override of -[NSManagedObject didTurnIntoFault], you can release the transient object.
Yes, it looks like that and -refreshObject:mergeChanges: are both part of the answer, but it's tricky. I think Rick needs to read and understand all of this…
http://developer.apple.com/library/mac/documentation/cocoa/conceptual/coredata/Articles/cdMemory.html
_______________________________________________
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