2

I am implementing a custom NSScroller class and I need to know when the scrollview is about to scroll and when it finished doing so. What would be an equivalent of UIScrollViewDelegate's viewDidScroll, etc for NSScrollView/NSScroller?

nacho4d
  • 43,720
  • 45
  • 157
  • 240
  • 1
    possible duplicate of [How to observe NSScroller changes?](http://stackoverflow.com/questions/2693717/how-to-observe-nsscroller-changes) –  Apr 15 '11 at 07:18

1 Answers1

1

Subclass NSScrollView and override reflectScrolledClipView:. Don't forget to call super's implementation!

Chris Frederick
  • 5,482
  • 3
  • 36
  • 44
Robin
  • 8,197
  • 11
  • 45
  • 74