Re: Custom View initialization: where?
Re: Custom View initialization: where?
- Subject: Re: Custom View initialization: where?
- From: Graham Cox <email@hidden>
- Date: Sat, 3 May 2008 12:49:55 +1000
On 3 May 2008, at 12:34 pm, Markus Spoettl wrote:
The view is instantiated correctly because it draws right. When I
put the debugger breakpoint in initWithFrame: it doesn't get called.
Is there something wrong with this?
No, not that I can see. Maybe you aren't actually running in the
debugger for some reason - try NSLogging from inside initWithFrame:
instead to see if it's called.
- (id)initWithFrame:(NSRect)frame;
BTW: you don't need to declare methods in @interface that are
inherited from the superclass.
G.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden