Re: Subclassed AppKit vis IB & Designated Initializer
Re: Subclassed AppKit vis IB & Designated Initializer
- Subject: Re: Subclassed AppKit vis IB & Designated Initializer
- From: Ondra Cada <email@hidden>
- Date: Thu, 13 May 2004 21:47:01 +0200
Brent,
On 13.5.2004, at 20:08, Brent Gulanowski wrote:
>
How do I make sure that if I subclass an AppKit class to use in my GUI,
>
that Interface Builder will call its designated initializer? Or has IB
>
stopped bothering?
Oh, just make it read your documentation thoroughly, and it would
surely bother. Otherwise, how do you propose it finds which initializer
is the designated one of your class?
Meantime, whilst IB does not read docs that often, try using
awakeFromNib for initialization. If for some reason impossible, you may
override initWithCoder:.
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.