Re: Building NSObject question/Help
Re: Building NSObject question/Help
- Subject: Re: Building NSObject question/Help
- From: Ondra Cada <email@hidden>
- Date: Thu, 26 May 2005 01:57:02 +0200
Mark,
On 25.5.2005, at 18:34, Mark Thomas wrote:
I was wondering if anybody had any idea's on what is needed so I
can do
serialization with my custom NSObject so it will be stored/loaded
when the
NSDictionary tries to store information out (I'm storing the
NSDictionary in
my app prefs presently)
Sure: you have to encode your object into a plist-conforming class.
That would be, most probably, an NSData or perhaps an NSString. The
former tends to be easier, for you can just use archivation; the
latter tends to be more convenient and flexible, for in that case you
can easily access the defaults externally, without launching the
application.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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