SlideDirection

public enum SlideDirection

Direction that a slide animation should use.

  • up: start the view below its current position, and then slide upwards to where it currently is
  • down: start the view above its current position, and then slide downwards to where it currently is
  • left: start the view to the right of its current position, and then slide left to where it currently is
  • right: start the view to the left of its current position, and then slide right to where it currently is
  • up

    start the view below its current position, and then slide upwards to where it currently is

    Declaration

    Swift

    case up
  • start the view above its current position, and then slide downwards to where it currently is

    Declaration

    Swift

    case down
  • start the view to the right of its current position, and then slide left to where it currently is

    Declaration

    Swift

    case left
  • start the view to the left of its current position, and then slide right to where it currently is

    Declaration

    Swift

    case right