transitionProgress
The completion percentage of the transition.
Declaration
var transitionProgress: CGFloat { get set }Discussion
During the transition, set the value of this property periodically and call the invalidateLayout() method to force the collection view to update item positions. For example, when driving a transition using a gesture recognizer, you can set this property from the handler method of your gesture recognizer.