Re: NSDictionary to NSData
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