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

NSMutableDictionary -> NSData


  • Subject: NSMutableDictionary -> NSData
  • From: email@hidden
  • Date: Mon, 24 Jun 2002 19:43:29 -0500

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.

  • Follow-Ups:
    • Re: NSMutableDictionary -> NSData
      • From: "John C. Randolph" <email@hidden>
References: 
 >Re: Init method needed? + Dealloc method needed? (From: Michèle Garoche <email@hidden>)

  • Prev by Date: Re: [ANN] AutoOpen 1.0 Released
  • Next by Date: Re: Mutable class problems
  • Previous by thread: Re: Init method needed? + Dealloc method needed?
  • Next by thread: Re: NSMutableDictionary -> NSData
  • Index(es):
    • Date
    • Thread