NSFileWrapper and plist
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