Contents

Transaction

The context of the current state-processing update.

Declaration

@frozen struct Transaction

Overview

Use a transaction to pass an animation between views in a view hierarchy.

The root transaction for a state change comes from the binding that changed, plus any global values set by calling withTransaction(_:_:) or withAnimation(_:_:).

Topics

Creating a transaction

Managing animations

Managing window dismissal

Getting information about a transaction

Instance Properties

See Also

Moving an animation to another view