Initializer

init(capacity:)

Initializes a new keyframe sequence.

Declaration

convenience init(capacity numItems: Int)

Parameters

numItems

The initial capacity of the new sequence.

Return Value

A newly initialized empty sequence.

Discussion

See Also

First Steps

Using Keyframe Sequence to effect Custom Interpolation

See a few examples of what keyframe sequence can do.

init(keyframeValues: [Any], times: [NSNumber])

Initializes a keyframe sequence with an initial set of values and times.