WeightSortFunction
public protocol WeightSortFunction: SortFunction
A SortFunction
that takes into account the vertical and horizontal weight of the position of views. The lighter the weight the the faster those views will start to animate. For example, if you had a light verticalWeight
and a heavy horizontalWeight
, the views that are vertically aligned with the starting position will animate before those that are horizontally aligned. This allows you to define the exact rigidness of a radial
like SortFunction
.