• 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: NSDictionary to NSData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDictionary to NSData


  • Subject: Re: NSDictionary to NSData
  • From: Kieran Kelleher <email@hidden>
  • Date: Thu, 22 Sep 2005 08:49:25 -0400

easy, save yourself time and use ERXMutableDictionary (it extends NSMutableDictionary) and the corresponding EOModel prototype in Project Wonder and it just works! If you are not inclined to adopt Project Wonder (why not!), download the Wonder source and see how they do it. It's in the ERXExtensions framework project...
http://homepage.mac.com/kelleherk/iblog/C183784902/E1851653685/ index.html



Alternatively, check out Chuck Hill's Practical WO book on page 43 if you want to do it yourself from scratch.


Regards.

-Kieran
________________________________________________________________
Blog: http://webobjects.webhop.org/


On Sep 22, 2005, at 2:06 AM, Dave Elsner wrote:

Hi,

Does any one know an easy way of converting an NSDictionary to NSData and back again. The reason being I would like to store a Dictionary in the DB as a blob.


Cheers David


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >NSDictionary to NSData (From: Dave Elsner <email@hidden>)

  • Prev by Date: AW: AW: Unlimitted requests question
  • Next by Date: Re: NSDictionary to NSData
  • Previous by thread: AW: NSDictionary to NSData
  • Next by thread: Re: NSDictionary to NSData
  • Index(es):
    • Date
    • Thread