Re: Core Data: Setting attribute of deleted object causes it to remain in store
Re: Core Data: Setting attribute of deleted object causes it to remain in store
- Subject: Re: Core Data: Setting attribute of deleted object causes it to remain in store
- From: Fritz Anderson <email@hidden>
- Date: Fri, 04 May 2012 09:16:14 -0500
On 3 May 2012, at 7:19 PM, Jerry Krinock wrote:
> I've seen the nilling of attributes happen before, upon re-inserting a deleted object [1]. This behavior is obviously related, but different. If anyone can think of a good reason for this behavior, it would be interesting to read.
By the database rules, the record that backs a managed object may be deleted, but by the memory-management rules, the managed object that wraps the record must remain until it is dealloced. Core Data represents this state by turning the managed object into an irrecoverable fault.
— F
_______________________________________________
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