Unarchiving a plugin custom control
Unarchiving a plugin custom control
- Subject: Unarchiving a plugin custom control
- From: Anders Lassen <email@hidden>
- Date: Mon, 21 Jul 2008 04:05:57 +0200
Hi,
I am working on a custom control, which has a few simple properties.
The object is a subclass of NSBox, and is therefore initialized with
initWithCoder.
When the object is created for the first time and nothing has been
saved to the archive, all properties are set to zero values.
My problem is that I would like to bypass the decoding when the achive
is "empty", and assign other default values (than zero).
I wonder whether this is possible?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden