LinearSortFunction
public struct LinearSortFunction: DirectionSortFunction
A Linear wiping SortFunction. This will consider the rows or columns of the views rather than looking at their exact coordinates. Views that have the same vertical or horizontal components, based on the direction, will animate in at the same time.
-
A
LinearwipingSortFunction. This will consider the rows or columns of the views rather than looking at their exact coordinates. Views that have the same vertical or horizontal components, based on thedirection, will animate in at the same time.Declaration
Swift
public var direction: Direction -
A
LinearwipingSortFunction. This will consider the rows or columns of the views rather than looking at their exact coordinates. Views that have the same vertical or horizontal components, based on thedirection, will animate in at the same time.Declaration
Swift
public var interObjectDelay: TimeInterval -
A
LinearwipingSortFunction. This will consider the rows or columns of the views rather than looking at their exact coordinates. Views that have the same vertical or horizontal components, based on thedirection, will animate in at the same time.Declaration
Swift
public var reversed: Bool = false -
Undocumented
Declaration
Swift
public struct LinearSortFunction: DirectionSortFunction -
A
LinearwipingSortFunction. This will consider the rows or columns of the views rather than looking at their exact coordinates. Views that have the same vertical or horizontal components, based on thedirection, will animate in at the same time.Declaration
Swift
public func distanceBetween(_ left: CGPoint, and right: CGPoint) -> DoubleParameters
leftthe left point
rightthe right point
Return Value
the distance between the two points.
View on GitHub
LinearSortFunction Struct Reference