Re: Cleaning "garbage" in Core Data
Re: Cleaning "garbage" in Core Data
- Subject: Re: Cleaning "garbage" in Core Data
- From: Sherm Pendley <email@hidden>
- Date: Sun, 16 Aug 2009 11:33:51 -0400
On Sun, Aug 16, 2009 at 11:22 AM, Squ Aire<email@hidden> wrote:
>
> Just to make it clear: The whole userInfo dictionary will tend to NOT be "garbage". Only a subset of key-value pairs within the userInfo dictionaries for the employees will be "garbage". I want to get rid of this subset without bothering the user in any way.
>
> Therefore, the attribute must persist and transient properties will not work in this case. I hope my problem is clearer now.
Seems to me that the source of the problem is the mixing of transient
and persistent key-value pairs within the same dictionary. If you
store the transient pairs in a dictionary of their own, that whole
dictionary could be transient.
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
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