Instance Method

addKeyframeValue:time:

Adds a keyframe to the sequence.

Declaration

- (void)addKeyframeValue:(id)value time:(CGFloat)time;

Parameters

value

An object that defines the value to add. It must have the same class as other value objects stored in the sequence.

time

The corresponding time.

Discussion

The new keyframe is appended to the end of the array.

See Also

Sequence Building

- removeKeyframeAtIndex:

Removes a keyframe from the sequence.

- removeLastKeyframe

Removes the last value in the sequence.

- setKeyframeTime:forIndex:

Changes the time for a specific keyframe.

- setKeyframeValue:forIndex:

Changes the value for a specific keyframe.

- setKeyframeValue:time:forIndex:

Replaces a keyframe in the sequence with a new keyframe.