UICollectionView.LayoutInteractiveTransitionCompletion
The completion block called at the end of an interactive transition for a collection view.
Declaration
typealias LayoutInteractiveTransitionCompletion = (Bool, Bool) -> VoidDiscussion
This completion block takes the following parameters:
- completed
A Boolean indicating whether the animations ran to completion.
- finish
A Boolean indicating whether the transition finished or was canceled. This parameter is true if the transition ran to completion and the new layout is installed. It is false if the user canceled the transition and the old layout is installed.