Type Aliases

The following type aliases are available globally.

  • This notification closure should be called when the start method starts a motion operation. If a delay has been specified, this closure is called after the delay is complete.

    Seealso

    start

    Declaration

    Swift

    public typealias SequenceStarted = SequenceUpdateClosure
  • This notification closure should be called when the stop method starts a motion operation.

    Seealso

    stop

    Declaration

    Swift

    public typealias SequenceStopped = SequenceUpdateClosure
  • This notification closure should be called when the update method is called while a Moveable object is currently moving.

    Seealso

    update

    Declaration

    Swift

    public typealias SequenceUpdated = SequenceUpdateClosure
  • This notification closure should be called when a motion operation reverses its movement direction.

    Declaration

    Swift

    public typealias SequenceReversed = SequenceUpdateClosure
  • This notification closure should be called when a motion has started a new repeat cycle.

    Declaration

    Swift

    public typealias SequenceRepeated = SequenceUpdateClosure
  • This notification closure should be called when calling the pause method pauses a motion operation.

    Declaration

    Swift

    public typealias SequencePaused = SequenceUpdateClosure
  • This notification closure should be called when calling the resume method resumes a motion operation.

    Declaration

    Swift

    public typealias SequenceResumed = SequenceUpdateClosure
  • This notification closure should be called when a motion operation has fully completed.

    Remark

    This closure should only be executed when all activity related to the motion has ceased. For instance, if a Moveable class allows a motion to be repeated multiple times, this closure should be called when all repetitions have finished.

    Declaration

    Swift

    public typealias SequenceCompleted = SequenceUpdateClosure
  • This notification closure should be called when a sequence’s movement has advanced to its next sequence step.

    Declaration

    Swift

    public typealias SequenceStepped = SequenceUpdateClosure
  • This notification closure should be called when the start method starts a motion operation. If a delay has been specified, this closure is called after the delay is complete.

    Seealso

    start

    Declaration

    Swift

    public typealias GroupStarted = GroupUpdateClosure
  • This notification closure should be called when the stop method starts a motion operation.

    Seealso

    stop

    Declaration

    Swift

    public typealias GroupStopped = GroupUpdateClosure
  • This notification closure should be called when the update method is called while a Moveable object is currently moving.

    Seealso

    update

    Declaration

    Swift

    public typealias GroupUpdated = GroupUpdateClosure
  • This notification closure should be called when a motion operation reverses its movement direction.

    Declaration

    Swift

    public typealias GroupReversed = GroupUpdateClosure
  • This notification closure should be called when a motion has started a new repeat cycle.

    Declaration

    Swift

    public typealias GroupRepeated = GroupUpdateClosure
  • This notification closure should be called when calling the pause method pauses a motion operation.

    Declaration

    Swift

    public typealias GroupPaused = GroupUpdateClosure
  • This notification closure should be called when calling the resume method resumes a motion operation.

    Declaration

    Swift

    public typealias GroupResumed = GroupUpdateClosure
  • This notification closure should be called when a motion operation has fully completed.

    Remark

    This closure should only be executed when all activity related to the motion has ceased. For instance, if a Moveable class allows a motion to be repeated multiple times, this closure should be called when all repetitions have finished.

    Declaration

    Swift

    public typealias GroupCompleted = GroupUpdateClosure
  • This notification closure should be called when the start method starts a motion operation. If a delay has been specified, this closure is called after the delay is complete.

    Seealso

    start

    Declaration

    Swift

    public typealias PhysicsMotionStarted = PhysicsMotionUpdateClosure
  • This notification closure should be called when the stop method starts a motion operation.

    Seealso

    stop

    Declaration

    Swift

    public typealias PhysicsMotionStopped = PhysicsMotionUpdateClosure
  • This notification closure should be called when the update(withTimeInterval:) method is called while a Moveable object is currently moving.

    Seealso

    update(withTimeInterval:)

    Declaration

    Swift

    public typealias PhysicsMotionUpdated = PhysicsMotionUpdateClosure
  • This notification closure should be called when a motion operation reverses its movement direction.

    Declaration

    Swift

    public typealias PhysicsMotionReversed = PhysicsMotionUpdateClosure
  • This notification closure should be called when a motion has started a new repeat cycle.

    Declaration

    Swift

    public typealias PhysicsMotionRepeated = PhysicsMotionUpdateClosure
  • This notification closure should be called when calling the pause method pauses a motion operation.

    Declaration

    Swift

    public typealias PhysicsMotionPaused = PhysicsMotionUpdateClosure
  • This notification closure should be called when calling the resume method resumes a motion operation.

    Declaration

    Swift

    public typealias PhysicsMotionResumed = PhysicsMotionUpdateClosure
  • This notification closure should be called when a motion operation has fully completed.

    Remark

    This closure should only be executed when all activity related to the motion has ceased. For instance, if a Moveable class allows a motion to be repeated multiple times, this closure should be called when all repetitions have finished.

    Declaration

    Swift

    public typealias PhysicsMotionCompleted = PhysicsMotionUpdateClosure
  • This notification closure should be called when the start method starts a motion operation. If a delay has been specified, this closure is called after the delay is complete.

    Seealso

    start

    Declaration

    Swift

    public typealias MotionStarted = MotionUpdateClosure
  • This notification closure should be called when the stop method starts a motion operation.

    Seealso

    stop

    Declaration

    Swift

    public typealias MotionStopped = MotionUpdateClosure
  • This notification closure should be called when the update(withTimeInterval:) method is called while a Moveable object is currently moving.

    Seealso

    update(withTimeInterval:)

    Declaration

    Swift

    public typealias MotionUpdated = MotionUpdateClosure
  • This notification closure should be called when a motion operation reverses its movement direction.

    Declaration

    Swift

    public typealias MotionReversed = MotionUpdateClosure
  • This notification closure should be called when a motion has started a new motion cycle.

    Declaration

    Swift

    public typealias MotionRepeated = MotionUpdateClosure
  • This notification closure should be called when calling the pause method pauses a motion operation.

    Declaration

    Swift

    public typealias MotionPaused = MotionUpdateClosure
  • This notification closure should be called when calling the resume method resumes a motion operation.

    Declaration

    Swift

    public typealias MotionResumed = MotionUpdateClosure
  • This notification closure should be called when a motion operation has fully completed.

    Remark

    This closure should only be executed when all activity related to the motion has ceased. For instance, if a Moveable class allows a motion to be repeated multiple times, this closure should be called when all repetitions have finished.

    Declaration

    Swift

    public typealias MotionCompleted = MotionUpdateClosure
  • Any easing types used by a Motion object should implement this closure.

    Declaration

    Swift

    public typealias EasingUpdateClosure = (_ elapsedTime: TimeInterval, _ startValue: Double, _ valueRange: Double, _ duration: TimeInterval) -> Double