On Mar 18, 2013, at 5:14 PM, Rick Mann <[email protected]> wrote:

> NSArchiver calls look like -setValue:forKey:, so it seems reasonable that the 
> protocol could be usurped to write out fairly clean user defaults plists.

There’s a lot of other gunk the archiver needs to store so it can handle 
pointer cycles and remember what classes to re-instantiate. As I said, look at 
some XML generated by NSArchiver sometime. But admittedly I’ve never tried to 
do exactly what you’re proposing, so go ahead and try it.

—Jens
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to