• 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: Cleaning "garbage" in Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • RE: Cleaning "garbage" in Core Data
      • From: Squ Aire <email@hidden>
References: 
 >Cleaning "garbage" in Core Data (From: Squ Aire <email@hidden>)
 >Re: Cleaning "garbage" in Core Data (From: "I. Savant" <email@hidden>)
 >RE: Cleaning "garbage" in Core Data (From: Squ Aire <email@hidden>)

  • Prev by Date: Re: Cleaning "garbage" in Core Data
  • Next by Date: RE: Cleaning "garbage" in Core Data
  • Previous by thread: Re: Cleaning "garbage" in Core Data
  • Next by thread: RE: Cleaning "garbage" in Core Data
  • Index(es):
    • Date
    • Thread