Instance Property

duration

The total duration (in seconds) of the main animations.

Declaration

@property(nonatomic, readonly) NSTimeInterval duration;

Discussion

You set the duration value when creating the animator and cannot change it later. Animations added while the animator is in the inactive state are run for the specified duration. Animations added later run only for the remaining time, which is determined by the formula (1.0 - fractionComplete) * duration.

See Also

Accessing the Animation Parameters

delay

The delay (in seconds) after which the animations begin.

timingParameters

The information used to determine the timing curve for the animation.

interruptible

A Boolean value indicating whether the animator is interruptible and can be paused or stopped.

userInteractionEnabled

A Boolean value indicating whether views receive touch events while animations are running.

manualHitTestingEnabled

A Boolean value indicating whether your app manages hit-testing while animations are in progress.

scrubsLinearly

A Boolean value indicating whether a paused animation scrubs linearly or uses its specified timing information.

pausesOnCompletion

A Boolean value that indicates whether a completed animation remains in the active state.