Subclassing
Quote from Forum Archives on February 7, 2010, 11:38 pmPosted by: artlythere <artlythere@...>
I am trying to subclass NSSlider, then NSSliderCell so I can create
my own slider.However, while one can subclass NSSliderCell, that doesn't show up in
the Custom Classes tab of IB's Inspector, only a subclass of NSSlider
does.So I am confused how to go about this, when it appears you have to
subclass NSSlider to use NSSliderCell...(where you override drawKnob
and others)I can substantiate the subclass of NSSlider, but not apparently the
one for NSSliderCell.r
c
Posted by: artlythere <artlythere@...>
my own slider.
However, while one can subclass NSSliderCell, that doesn't show up in
the Custom Classes tab of IB's Inspector, only a subclass of NSSlider
does.
So I am confused how to go about this, when it appears you have to
subclass NSSlider to use NSSliderCell...(where you override drawKnob
and others)
I can substantiate the subclass of NSSlider, but not apparently the
one for NSSliderCell.
r
c