Re: NSMutableDictionary -> NSData
Re: NSMutableDictionary -> NSData
- Subject: Re: NSMutableDictionary -> NSData
- From: "John C. Randolph" <email@hidden>
- Date: Mon, 24 Jun 2002 17:52:15 -0700
Send the dictionary a -description message. The result is a
NSString formatted as a property list.
-jcr
On Monday, June 24, 2002, at 05:43 PM, email@hidden wrote:
Ok.. In trying to work with NSFileWrapper's, it appears that it
basically only works with
content types of NSData..
However, I would like to store the contents of most of the
file's in the new plist format,
which is easy to do via NSDictionary.. (writeToFile: xxx just
does it ) ...
So... How can I use NSFileWrapper to store the file easily in
"plist" format
if the information is in a dictionary??
What this entails I think is how to get NSDictionary into
NSData format and vice-versa
on the other way in..
Or this means that I am doing something totally wrong with
NSFileWrapper and need
direction.. :-)
Thanks!
-Steve
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.