Re: NSSlider and NSSliderCell
Re: NSSlider and NSSliderCell
- Subject: Re: NSSlider and NSSliderCell
- From: "I. Savant" <email@hidden>
- Date: Mon, 15 Jan 2007 20:01:27 -0500
On Jan 15, 2007, at 6:55 PM, Michael Watson wrote:
When the slider wakes up from the nib, those two methods are
called. None of the methods in CustomSliderCell are, though. I
still end up with the standard slider bar/knob look. So, I figure I
still need to override -(id)initWithFrame:, create the custom cell,
and call -setCell: to complete the process, so I do just that. But -
initWithFrame: is never called.
You should not have to override -initWithFrame: to do this. This
may be a regarded as a silly question, but did you set the class of
your slider in IB to your custom slider class? Click to select your
slider, then press Cmd-5 in IB and make sure your custom class is
selected.
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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