animationDidEnd(_:)
Sent to the delegate when the specified animation completes its run.
Declaration
nonisolated optional func animationDidEnd(_ animation: NSAnimation)Parameters
- animation:
The
NSAnimationinstance that completed its run.
Discussion
When an NSAnimation object reaches the end of its planned duration, it has a progress value of 1.0.