# NSAnimation documentation

Generated at 2026-02-17 21:02:56 +0000
Software documentation for the NSAnimation class
AppKit/NSAnimation.h
NSCopying
NSCoding
GSAnimation
Objects of the NSAnimation class manage the timing and progress of animations in the user interface. The class also lets you link together multiple animations so that when one animation ends another one starts. It does not provide any drawing support for animation and does not directly deal with views, targets, or actions.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
addProgressMark:
progress
Adds the progress mark to the receiver.
animationBlockingMode
Returns the blocking mode the receiver is next scheduled to run under.
animationCurve
Returns the animation curve the receiver is running under.
clearStartAnimation
Clears linkage to another animation that causes the receiver to start.
clearStopAnimation
Clears linkage to another animation that causes the receiver to stop.
currentProgress
Returns the current progress of the receiver.
currentValue
Returns the current value of the effect based on the current progress.
delegate
Returns the delegate of the receiver.
duration
Returns the duration of the animation, in seconds.
frameRate
Returns the frame rate of the animation.
initWithDuration:
duration
animationCurve:
curve
Returns an NSAnimation object initialized with the specified duration and animation-curve values.
isAnimating
Returns a Boolean value that indicates whether the receiver is currently animating.
progressMarks
Returns the receiver's progress marks.
removeProgressMark:
progress
Removes a progress mark from the receiver. A value that does not correspond to a progress mark is ignored.
runLoopModesForAnimating
Overridden to return the run-loop modes that the receiver uses to run the animation timer in.
setAnimationBlockingMode:
mode
Sets the blocking mode of the receiver. The new blocking mode takes effect the next time the receiver is started.
setAnimationCurve:
curve
Sets the receiver's animation curve. The new value affects the animation already in progress : the actual curve smoothly changes from the old curve to the new one.
setCurrentProgress:
progress
Sets the current progress of the receiver. In the case of a forward jump the marks between the previous progress value and the new (excluded) progress value are ignored. In the case of a backward jump (rewind) the marks will be reached again.
setDelegate:
delegate
Sets the delegate of the receiver. The new delegate takes effect the next time the receiver is started.
setDuration:
duration
Sets the duration of the animation to a specified number of seconds. If the duration is changed while the animation is running the speed of the animation is not changed but the current progress value is (see -setCurrentprogress ). The new value takes effect at the next frame.
setFrameRate:
fps
Sets the frame rate of the receiver. The new frame rate takes effect at the next frame.
setProgressMarks:
progress
Sets the receiver's progress marks to the values specified in the passed-in array. The new marks are t
startAnimation
Starts the animation represented by the receiver. If the animation is already running the method has no effect.
startWhenAnimation:
animation
reachesProgress:
start
Starts running the animation represented by the receiver when another animation reaches a specific progress mark.
stopAnimation
Stops the animation represented by the receiver. If the animation is not running the method has no effect.
stopWhenAnimation:
animation
reachesProgress:
stop
Stops running the animation represented by the receiver when another animation reaches a specific progress mark.
Software documentation for the NSViewAnimation class
AppKit/NSAnimation.h
The NSViewAnimation class, a public subclass of NSAnimation, offers a convenient way to animate multiple views and windows. The animation effects you can achieve are limited to changes in frame location and size, and to fade-in and fade-out effects.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
initWithViewAnimations:
animations
Returns an NSViewAnimation object initialized with the supplied information.
setViewAnimations:
animations
Sets the dictionaries defining the objects to animate.
viewAnimations
Returns the array of dictionaries defining the objects to animate.
Software documentation for the NSAnimation(GNUstep) category
AppKit/NSAnimation.h
Description forthcoming.
actualFrameRate
Returns the current the actual (mesured) frame rate value
frameCount
Returns the current value of the frame counter
resetCounters
Resets all stats
Software documentation for the NSObject(NSAnimation) informal protocol
AppKit/NSAnimation.h
Description forthcoming.
animation:
animation
didReachProgressMark:
progress
NSAnimation delegate method. Sent to the delegate when an animation reaches a specific progress mark.
animation:
animation
valueForProgress:
progress
NSAnimation delegate method. Requests a custom curve value for the current progress value.
animationDidEnd:
animation
NSAnimation delegate method. Sent to the delegate when the specified animation completes its run.
animationDidStop:
animation
NSAnimation delegate method. Sent to the delegate when the specified animation is stopped before it completes its run.
animationShouldStart:
animation
NSAnimation delegate method. Sent to the delegate just after an animation is started.
Software documentation for the NSAnimationDelegate protocol
AppKit/NSAnimation.h
NSObject
Description forthcoming.