nextLayout
The collection view’s new layout object.
Declaration
var nextLayout: UICollectionViewLayout { get }Discussion
This object provides the layout attributes representing the new position of items in the collection view. If the transition completes as expected, the collection view animates its items to the positions provided by this object.