UIViewRepresentableContext
struct · iOS 13.0+ · SDK 27.1
@MainActor @preconcurrency struct UIViewRepresentableContext<Representable> where Representable : UIViewRepresentableContextual information about the state of the system that you use to create and update your UIKit view. A ``UIViewRepresentableContext`` structure contains details about the current state of the system. When creating and updating your view, the system creates one of these structures and passes it to the appropriate method of your custom ``UIViewRepresentable`` instance. Use the information in this structure to configure your view. For example, use the provided environment values to configure the appearance of your view. Don't create this structure yourself.
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
4 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UIViewRepresentableContext.coordinator
This declaration needs Swift generic type arguments. (no canonical witness for Representable.Coordinator)
UIViewRepresentableContext.transaction
The containing type needs Swift generic type arguments. (no canonical witness for Representable)
UIViewRepresentableContext.environment
The containing type needs Swift generic type arguments. (no canonical witness for Representable)
UIViewRepresentableContext.animate(changes:completion:)
The containing type needs Swift generic type arguments. (no canonical witness for Representable)