Re: Why is this NSSlider subclass not getting displayed?
Re: Why is this NSSlider subclass not getting displayed?
- Subject: Re: Why is this NSSlider subclass not getting displayed?
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 18 Jul 2005 15:43:00 -0600
On Jul 18, 2005, at 03:36 PM, Matt Ball wrote:
The "init" gets logged, but neither "drawBarInside" nor "drawKnob"
gets logged. Is there any reason why this is?
That means you're doing something very wrong when you create an
instance of that class. NSView's designated initializer is -
initWithFrame:, -init is not actually used in NSView subclasses. So
you can delete your -init override and make sure that you create an
instance of the class using -initWithFrame:.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden