0

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 ?

Community
  • 1
  • 1
user88975
  • 1,618
  • 3
  • 19
  • 29

1 Answers1

1

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.

Community
  • 1
  • 1
Volker
  • 4,640
  • 1
  • 23
  • 31