• 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: Storing an NSDictionary in NSManagedObject
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Storing an NSDictionary in NSManagedObject (From: August Trometer <email@hidden>)

  • Prev by Date: Webkit and cookies
  • Next by Date: FYI: NSKeyedArchiver success
  • Previous by thread: Storing an NSDictionary in NSManagedObject
  • Next by thread: iWeb style components
  • Index(es):
    • Date
    • Thread