开发者

Equivalent of UIScrollViewDelegate in Cocoa?

开发者 https://www.devze.com 2023-02-24 19:21 出处:网络
I am implementing a custom NSScroller class and I need to know when the scrollview is about to scro开发者_StackOverflow社区ll and when it finished doing so. What would be an equivalent of UIScrollView

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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号