Re: storing keyed archives in user defaults
Re: storing keyed archives in user defaults
- Subject: Re: storing keyed archives in user defaults
- From: Duncan Campbell <email@hidden>
- Date: Tue, 22 Mar 2005 14:16:45 +1100
I need to store an array of custom objects in user defaults. This
object supports <NSCoding> and everything works fine when I am reading
and writing it programmatically. But if I try to bind an array
controller's contentArray using NSUnarchiveFromData I get:
+[NSUnarchiver unarchiveObjectWithData:]: extra data discarded
And the binding does not work. Do I need to write a value transformer
to unarchive keyed data?
Take a look here for some examples that should help:
http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
---------------------------------------------------------------
Duncan Campbell
http://www.duncanandsarah.com/duncan
---------------------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden