Returns an array of the actively managed items in the collection view.
- macOS 10.11+
An array of
NSCollection objects. The returned array may be empty.
The items returned by this method represent the ones that are active and currently being managed by the collection view. This array may contain items that are outside of the collection view’s actual visible rectangle. For example, it may contain items that were recently visible but have since been scrolled out of view. To test whether an item is actually visible, check to see if its frame rectangle intersects the
visible of the collection view.