UIViewControllerRepresentableContext
public struct UIViewControllerRepresentableContext<Representable> where Representable : UIViewControllerRepresentable
The context used in a UIViewControllerRepresentable
type.
-
The view’s associated coordinator.
Declaration
Swift
public let coordinator: Representable.Coordinator
-
The current
Transaction
.Declaration
Swift
public var transaction: Transaction
-
The current
Environment
.Declaration
Swift
public var environment: EnvironmentValues