add(_:)
Notifies the transaction coordinator to start coordinating transactions for the given view.
Declaration
@MainActor func add(_ hostingView: LayerHierarchyHostingView)Parameters
- hostingView:
The view to coordinate transactions for.
Discussion
The transaction coordinator coordinates any transactions involving hostingView until you call commit().