Contents

sequence(with:)

Creates an animation resource that plays a collection of animations in a specified sequence.

Declaration

@MainActor @preconcurrency static func sequence(with resources: [AnimationResource]) throws -> AnimationResource

Parameters

  • resources:

    The collection of animation resources to play.

Return Value

An animation resource that plays the given array of animations.

See Also

Creating an animation resource