ShakeDirection

public enum ShakeDirection

SwifterSwift: Shake directions of a view.

  • horizontal: Shake left and right.
  • vertical: Shake up and down.
  • Shake left and right.

    Declaration

    Swift

    case horizontal
  • Shake up and down.

    Declaration

    Swift

    case vertical