Contents

animationDidEnd(_:)

Sent to the delegate when the specified animation completes its run.

Declaration

nonisolated optional func animationDidEnd(_ animation: NSAnimation)

Parameters

  • animation:

    The NSAnimation instance that completed its run.

Discussion

When an NSAnimation object reaches the end of its planned duration, it has a progress value of 1.0.

See Also

Related Documentation

Controlling and Monitoring an Animation