Contents

subscript(withoutAnimation:)

Gets or sets the component of the specified type, without considering implicit animations.

Declaration

@MainActor @preconcurrency subscript<T>(withoutAnimation withoutAnimation: T.Type) -> T? where T : Component { get set }

Overview

This is only useful in specialized circumstances, such as in a tight loop, where you are certain there are no animations active.

See Also

Accessing animatable components