• 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: [SOLVED] Code to convert NSDictionary to binary plist file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SOLVED] Code to convert NSDictionary to binary plist file?


  • Subject: Re: [SOLVED] Code to convert NSDictionary to binary plist file?
  • From: Ken Thomases <email@hidden>
  • Date: Tue, 3 Jun 2008 21:13:08 -0500

On Jun 3, 2008, at 8:49 PM, David Hoerl wrote:

ret = [manager createFileAtPath:@"/tmp/binary.plist" contents:plist attributes:nil];

You can also do [plist writeToFile:...] to write the data object out. There's nothing wrong with what you wrote, but since you were already familiar with the writeToFile:... methods, I thought it might be conceptually simpler.


Cheers,
Ken

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: [SOLVED] Code to convert NSDictionary to binary plist file?
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >[SOLVED] Code to convert NSDictionary to binary plist file? (From: David Hoerl <email@hidden>)

  • Prev by Date: Re: NSObjectController needless in "Intro to Bindings"?
  • Next by Date: Re: Best Practice for Returning Immutable Objects?
  • Previous by thread: [SOLVED] Code to convert NSDictionary to binary plist file?
  • Next by thread: Re: [SOLVED] Code to convert NSDictionary to binary plist file?
  • Index(es):
    • Date
    • Thread