Tells the layout object that it is about to be removed as the layout for the collection view.
- iOS 7.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The layout object to be installed in the collection view at the end of the transition. You might use this object to provide different starting attributes depending on the final layout object.
Prior to performing a layout transition, the collection view calls this method so that your layout object can perform any initial calculations needed to generate layout attributes.