« »

NSScroller bug report

I just filed a bug with Apple’s BugReporter (#5644771). I figured I’d post here to save other devs possible headache. The online NSScroller documentation has the method:

- (void)drawArrow:(NSScrollerArrow)arrow highlight:(BOOL)flag

Anyone who has tried to subclass NSScroller knows that this doesn’t work. This is a documentation error. The method should be:

- (void)drawArrow:(NSScrollerArrow)arrow highlightPart:(BOOL)flag

One comment on “NSScroller bug report”

From Concentrate Software:

February 5th, 2008 at 6:33 pm

[…] meant that I needed custom scrollers and a custom resizing widget. It also meant that I found a documentation error for […]

Leave a Reply