• 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
NSFileWrapper and plist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSFileWrapper and plist


  • Subject: NSFileWrapper and plist
  • From: Trygve Inda <email@hidden>
  • Date: Fri, 13 Sep 2013 18:46:54 -0700
  • Thread-topic: NSFileWrapper and plist

I have an NSDictionary that contains objects that support NSCopying. I can
use writeToFile:atomically: and it saves a nice plist file that I can read
cleanly.

If I use NSFileWrapper however (for my document-based app), I need to use a
keyed archiver to conver the NSDictionary to NSData. After NSFileWrapper
saves it, the plist is no longer really legible as a plist because it has
lots of extra objects list $objects and $top.

Is there anyway to have NSFileWrapper save my dictionary in a user-friendly
format so that I can see it as a normal dictionary in the plist utility?

Thanks,

Trygve



_______________________________________________

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: NSFileWrapper and plist
      • From: Seth Willits <email@hidden>
  • Prev by Date: Re: Helper tool
  • Next by Date: Re: NSFileWrapper and plist
  • Previous by thread: Re: Odd NSScroller behavior when clicking page dec/inc areas
  • Next by thread: Re: NSFileWrapper and plist
  • Index(es):
    • Date
    • Thread