On Mar 18, 2013, at 16:46 , Jens Alfke <j...@mooseyard.com> wrote: > It wouldn’t be human-readable. NSArchiver doesn’t produce readable output. > Even if you made a version whose output was a tree of directories, it would > still be pretty unreadable due to all the metadata in it. (After all, XML is > “human-readable”, but have you ever looked at the XML output of NSArchiver? > It’s really hairy.)
NSArchiver calls look like -setValue:forKey:, so it seems reasonable that the protocol could be usurped to write out fairly clean user defaults plists. > User defaults are for small prefs, things like strings or numbers or maybe > colors. I agree with Kyle that it’s not appropriate to store large things in > them. Put a file into your Application Support directory for that, instead. I'm not storing large things. -- Rick _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com