Distance

public enum Distance

How much the distance of a view animation should change. This value changes based off of which type of StockAnimation is used.

  • slightly: slightly move the object
  • moderately: the object should move a moderate amount
  • severely: the object should move very noticeably
  • byPoints: provide your own distance value that you feel the object should slide over
  • slightly move the object

    Declaration

    Swift

    case slightly
  • the object should move a moderate amount

    Declaration

    Swift

    case moderately
  • the object should move very noticeably

    Declaration

    Swift

    case severely
  • provide your own distance value that you feel the object should slide over

    Declaration

    Swift

    case byPoints(CGFloat)