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 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.

    Declaration

    Swift

    public var direction: Direction
  • 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.

    Declaration

    Swift

    public var interObjectDelay: TimeInterval
  • 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.

    Declaration

    Swift

    public var reversed: Bool = false
  • Undocumented

    Declaration

    Swift

    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.

    Declaration

    Swift

    public func distanceBetween(_ left: CGPoint, and right: CGPoint) -> Double

    Parameters

    left

    the left point

    right

    the right point

    Return Value

    the distance between the two points.