RE: Cleaning "garbage" in Core Data
RE: Cleaning "garbage" in Core Data
- Subject: RE: Cleaning "garbage" in Core Data
- From: Squ Aire <email@hidden>
- Date: Sun, 16 Aug 2009 16:35:40 +0000
- Importance: Normal
> Don't "mark as garbage" - delete them. Problem solved. If you need
> them to stick around in the garbage state, they're not garbage!
I am not *explicitly* marking anything as garbage. Whenever a user decides to remove a ValidKeys managed object, corresponding key-value pairs in all the userInfo dictionaries are *conceptually* marked as garbage. This is because I do not want to show the beach ball to the user while things are getting cleaned up. I want to postpone the cleaning up until later when it will not bother the user.
_________________________________________________________________
Share your memories online with anyone you want.
http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1_______________________________________________
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