Type Alias

UICollectionViewLayoutInteractiveTransitionCompletion

The completion block called at the end of an interactive transition for a collection view.

Declaration

typedef void (^UICollectionViewLayoutInteractiveTransitionCompletion)(BOOL completed, BOOL finished);

Discussion

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 YES if the transition ran to completion and the new layout is installed. It is NO if the user canceled the transition and the old layout is installed.