Re: Interface Builder/Custom Class
Re: Interface Builder/Custom Class
- Subject: Re: Interface Builder/Custom Class
- From: Andy Lee <email@hidden>
- Date: Sat, 27 Apr 2002 21:35:32 -0400
At 6:08 PM -0700 4/28/02, Ian Reid wrote:
"MyTableView" implements the "initWithFrame" and "awakeFromNib" methods.
The "initWithFrame" method is not being called, whereas the "awakeFromNib" is.
I forget the exact rules about custom classes in IB, but I believe
this is a case where -initWithCoder: is being called rather than
-initWithFrame:.
Nib files contain archived objects, and unarchiving is an exception
to the general rule about designated initializers. Upon unarchiving,
-initWithCoder: is called.
--Andy
_______________________________________________
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.