Re: Storing an NSDictionary in NSManagedObject
Re: Storing an NSDictionary in NSManagedObject
- Subject: Re: Storing an NSDictionary in NSManagedObject
- From: Jim Correia <email@hidden>
- Date: Thu, 6 Apr 2006 18:29:50 -0400
On Apr 6, 2006, at 5:10 PM, August Trometer wrote:
I have data model where I need to store a dictionary of
information. The closest data type that is available to me is
"Binary" which means I need to archive/unarchive to get at the
dictionary. This is fine, and I have no problems accessing the
information. However, doing the archive/unarchive in the accessors
disables the ability to bind directly to a key path for an exact
dictionary key/value pair. The binding doesn't fail and I can read
the information. But if I try to change the information, the
changes don't get saved.
Is there a good way to do this? A preferred way?
Use one of the non-standard attribute patterns described at:
http://devworld.apple.com/documentation/Cocoa/Conceptual/CoreData/
Articles/cdNSAttributes.html
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden