Direction

public enum Direction

A representation of a linear direction.

  • topToBottom: the animation will run with top views animating first and then bottom views animating last
  • bottomToTop: the animation will run with bottom views animating first and then top views animating last
  • leftToRight: the animation will run with left views animating first and right views animating last
  • rightToLeft: the animation will run with right views animating first and left views animating last
  • the animation will run with top views animating first and then bottom views animating last

    Declaration

    Swift

    case topToBottom
  • the animation will run with bottom views animating first and then top views animating last

    Declaration

    Swift

    case bottomToTop
  • the animation will run with left views animating first and right views animating last

    Declaration

    Swift

    case leftToRight
  • the animation will run with right views animating first and left views animating last

    Declaration

    Swift

    case rightToLeft