문제

How is it possible to detect in NSCollectionView when the last item is visible on scrolling ?

I was looking for a similar solution as this but NSCollectionView doesnt have a similar layout methods.

Any hints ?

도움이 되었습니까?

해결책

It is possible to get noted when the scroll view has scrolled by registering for boundsDidChange notification of the document view as described here Callbacks When an NSScrollView is Scrolled? .

That way one can check which part of the content of the collection view is displayed.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top