State
public enum State : Equatable
Represents the current state of an animation runner.
-
The runner has not started yet.
Declaration
Swift
case pending
-
The runner is currently running the animation.
Declaration
Swift
case running
-
The runner has completed (the animation is no longer running).
Declaration
Swift
case done(result: Result)
-
Declaration
Swift
public static func == (lhs: State, rhs: State) -> Bool