Re: Something like "[ NSDictionary dictionaryWithContentsOfFile:]" for situation when there is no file (and no URL either)
Re: Something like "[ NSDictionary dictionaryWithContentsOfFile:]" for situation when there is no file (and no URL either)
- Subject: Re: Something like "[ NSDictionary dictionaryWithContentsOfFile:]" for situation when there is no file (and no URL either)
- From: Glen Simmons <email@hidden>
- Date: Tue, 14 Mar 2006 16:51:10 -0600
On Mar 14, 2006, at 3:35 PM, Andrei Tchijov wrote:
I have a command line tool which produce output "compatible" with
"[NSDictionary writeToFile:atomically:]". I need to read this
output in my GUI and re-create the dictionary. How I can do it
without resorting to storing result of the tool into temporary file?
Thank you in advance, your replies will be highly appreciated.
Andrei Tchijov
-[NSString propertyList] should do it. I assume you can get the
output into an NSString*.
HTH,
Glen
_______________________________________________
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