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: Nathan Day <email@hidden>
- Date: Tue, 2 Apr 2002 19:40:52 +0930
initWithFrame: is only called when you use use the customView from the
pallet not when you set a custom class for some other NSView subclass
like NSButton, instead initWithCoder: is called but don't override that
instead implement - (void)awakeFromNib defined in the informal protocol
NSNibAwaking.
On Tuesday, April 2, 2002, at 10:35 AM, 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?
_______________________________________________
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.