Instance Property


The collection view’s current layout object.


var currentLayout: NSCollectionViewLayout { get }


Use this object to retrieve the initial layout attributes for elements of the collection view. If the transition is ultimately cancelled, the collection view animates its items back to the attributes provided by this object.

See Also

Accessing the Layout Objects

var nextLayout: NSCollectionViewLayout

The collection view’s new layout object.