Re: Why Isn't my initWithFrame method being called?
Re: Why Isn't my initWithFrame method being called?
- Subject: Re: Why Isn't my initWithFrame method being called?
- From: Henri Lamiraux <email@hidden>
- Date: Tue, 2 Apr 2002 07:34:53 -0800
Please read the FAQ from the IB Help menu
Why isn't my initWithFrame: method called?
initWithFrame: is only called when you have added a Custom View object
to your window. The initWithFrame: message is sent to the class you
specified in the Attributes Info Panel. Other widgets will not receive
initWithFrame: messages. In this case you should just implement a
-(void)awakeFromNib method to handle any further setup at runtime.
On Monday, April 1, 2002, at 05:05 PM, David Kopec wrote:
>
I have a custom subclass of NSButton that overrides only three methods,
>
initWithFrame, mouseEntered, and mouseExited. None of the three
>
methods is being called! Any ideas?
>
>
Thanks,
>
David
>
_______________________________________________
>
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.
_______________________________________________
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.