Re: enabling KeyedCoding
Re: enabling KeyedCoding
- Subject: Re: enabling KeyedCoding
- From: "Adam R. Maxwell" <email@hidden>
- Date: Sun, 13 May 2007 12:43:32 -0700
On May 13, 2007, at 12:15, William Zumwalt wrote:
What must I do to enable keyed coding of objects? My NSCoding methods
are really basic like the following but the allowsKeyedCoding always
returns a false.
[...]
- (id)replacementObjectForPortCoder:(NSPortCoder *)encoder
If you're dealing with NSPortCoder, it just doesn't support keyed
archiving. You'll need to implement old-style coding or use a
workaround: http://www.cocoabuilder.com/archive/message/cocoa/2007/2/21/179173
--
Adam
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden