< Previous PageNext Page > Hide TOC

Deprecated NSProgressIndicator Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in Mac OS X v10.5 and later

animate:

This action method advances the progress animation of an indeterminate progress animator by one step. (Deprecated in Mac OS X v10.5 and later. NSProgressIndicator no longer supports incrementing the animation using this method. Use the startAnimation: and stopAnimation: methods to perform animation of the progress indicator.)

- (void)animate:(id)sender

Parameters
sender

The object sending the message.

Availability
See Also
Related Sample Code
Declared In
NSProgressIndicator.h

animationDelay

Returns the delay, in seconds, between animation steps for an indeterminate progress indicator. (Deprecated in Mac OS X v10.5 and later. Progress indicators no longer allow the animation delay to be set.)

- (NSTimeInterval)animationDelay

Return Value

The delay between animation steps. By default, the animation delay is set to 1/12 of a second (5.0/60.0). A determinate progress indicator does not use the animation delay value.

Availability
Declared In
NSProgressIndicator.h

setAnimationDelay:

Sets the delay, in seconds, between animation steps for an indeterminate progress indicator. (Deprecated in Mac OS X v10.5 and later. Progress indicators no longer allow the animation delay to be set.)

- (void)setAnimationDelay:(NSTimeInterval)delay

Parameters
delay

The number of seconds between animation steps. By default, the animation delay is set to 1/12 of a second (5.0/60.0). Setting the delay to a double value larger than 5.0/60.0 slows the animation, while setting the delay to a smaller value speeds it up. A determinate progress indicator does not use the animation delay value.

Availability
Declared In
NSProgressIndicator.h

< Previous PageNext Page > Hide TOC


© 2008 Apple Inc. All Rights Reserved. (Last updated: 2008-03-11)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.