• 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: Something like "[ NSDictionary dictionaryWithContentsOfFile:]" for situation when there is no file (and no URL either)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Something like "[ NSDictionary dictionaryWithContentsOfFile:]" for situation when there is no file (and no URL either)
      • From: j o a r <email@hidden>
    • Re: Something like "[ NSDictionary dictionaryWithContentsOfFile:]" for situation when there is no file (and no URL either)
      • From: Andrei Tchijov <email@hidden>
References: 
 >Something like "[ NSDictionary dictionaryWithContentsOfFile:]" for situation when there is no file (and no URL either) (From: Andrei Tchijov <email@hidden>)

  • Prev by Date: Re: Drag and drop in NSOutlineView connected to a NSTreeController
  • Next by Date: Re: fetch request with compound predicate doesn't sort properly
  • Previous by thread: Something like "[ NSDictionary dictionaryWithContentsOfFile:]" for situation when there is no file (and no URL either)
  • Next by thread: Re: Something like "[ NSDictionary dictionaryWithContentsOfFile:]" for situation when there is no file (and no URL either)
  • Index(es):
    • Date
    • Thread