Bridges UIKit and SwiftUI with UIViewRepresentable, UIViewControllerRepresentable, UIHostingController, UIHostingConfiguration, coordinator delegates, and…
SwiftUI-UIKit Interop Bridge UIKit and SwiftUI in both directions. Wrap UIKit views and view controllers for use in SwiftUI, embed SwiftUI views inside UIKit screens, and synchronize state across the boundary. Targets iOS 26+ with Swift 6.3 patterns; notes backward-compatible to iOS 16 unless stated otherwise. See references/representable-recipes.md for complete wrapping recipes and references/hosting-migration.md for UIKit-to-SwiftUI migration patterns. Contents UIViewRepresentable Protocol UIViewControllerRepresentable Protocol The Coordinator Pattern UIHostingController Sizing and Layout State Synchronization Patterns UIKit Automatic Observation Tracking Sendable Considerations Common Mistakes Review Checklist References
don't have the plugin yet? install it then click "run inline in claude" again.