Re: Replace NSScroller instances in NSScrollView?
Re: Replace NSScroller instances in NSScrollView?
- Subject: Re: Replace NSScroller instances in NSScrollView?
- From: Jim Correia <email@hidden>
- Date: Fri, 21 Aug 2009 12:37:58 -0400
On Aug 21, 2009, at 12:22 PM, Jim Correia wrote:
I have a subclass of NSScrollView in which I'm also using a custom
NSScroller subclass.
If I am unarchiving from a NIB, I can set the object classes for the
NSScroller to my subclass.
However, there doesn't appear to be an API to specify the class of
the scroller used when I alloc+init an NSScrollView, nor does there
seem to be an API to replace the default scrollers with my custom
scrollers.
Have I overlooked the solution?
Yes. There are public accessors to replace the scroller.
- Jim
_______________________________________________
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