Contents

transitionProgress

The completion percentage of the transition.

Declaration

var transitionProgress: CGFloat { get set }

Discussion

During the transition, you should set the value of this property periodically and call invalidateLayout() to force the collection view to update item positions. If you are driving the transition with a gesture recognizer, you would likely set this property from the handler method of your gesture recognizer.

See Also

Updating the transition information