LoopMode

public enum LoopMode

Defines animation loop behavior

  • Animation is played once then stops.

    Declaration

    Swift

    case playOnce
  • Animation will loop from beginning to end until stopped.

    Declaration

    Swift

    case loop
  • Animation will play forward, then backwards and loop until stopped.

    Declaration

    Swift

    case autoReverse
  • Animation will loop from beginning to end up to defined amount of times.

    Declaration

    Swift

    case `repeat`(Float)
  • Animation will play forward, then backwards a defined amount of times.

    Declaration

    Swift

    case repeatBackwards(Float)