Reconnecting IBOutlets from an archive ?
Reconnecting IBOutlets from an archive ?
- Subject: Reconnecting IBOutlets from an archive ?
- From: Robert Miller <email@hidden>
- Date: Wed, 8 Jun 2005 07:39:10 -0400
Hello,
I hope someone has an answer to this question. Or maybe I just
missed something. I have a custom NSView sub-class that contains a
number of IBOutlets. The class supports NSCoding which works fine in
the encoding stage however, the decoding stage works except that I
want the IBOutlets to be reconnected after the class is decoded as
the outlets are used by the class as instance variables.
NSKeyedUnarchiving does not seem to support reconnecting these
outlets. Is there a solution other than removing the outlets from
their superview before encoding and encoding them as separate keyed
objects ?
Thanks in advance for any help,
Regards,
Bob M.
_______________________________________________
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