UIViewRepresentableContext
public struct UIViewRepresentableContext<Representable> where Representable : UIViewRepresentable
The context used in a UIViewRepresentable 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
View on GitHub
UIViewRepresentableContext Structure Reference