Re: Keyed encoding
Re: Keyed encoding
- Subject: Re: Keyed encoding
- From: Will Mason <email@hidden>
- Date: Tue, 21 Jun 2005 09:43:02 -0700 (PDT)
> The arrays contain custom class objects. For each of these I have
> defined initWithCoder methods that use encodeObject:forKey,
> encodeBool:forKey, etc. calls to archive their data members. The
> calls to encodeObject:forKey only pass built-in class objects
> (NSString, NSNumber, NSCalendarDate).
initWithCoder: is for decoding, not for encoding, so calling
encodeObject:forKey: in initWithCoder: is not very productive. Have you
defined encodeWithCoder: for your custom classes, putting the
encodeObject:forKey: in that method?
Cheers,
Will
_______________________________________________
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