What problem does it solve? Bridging AppKit and SwiftUI in a single macOS app is error-prone: coordinators leak memory, state desynchronizes between frameworks, and layout breaks when frames are set manually. This Skill provides expert guidance and reviewed code patterns for wrapping AppKit views in SwiftUI, hosting SwiftUI inside AppKit apps, and keeping state synchronized across both frameworks. ## Core Features & Use Cases - NSViewRepresentable Patterns: Wrap AppKit views like NSTextView and NSTableView for SwiftUI, with correct coordinator lifecycle, dismantleNSView cleanup, and sizeThatFits layout integration. - Hosting Controllers: Embed SwiftUI in AppKit via NSHostingView and NSHostingController, including sheets, split views, windows, and a four-phase incremental adoption strategy. - State Management: Bridge state with @Observable (macOS 14+), Combine, NotificationCenter, UserDefaults, or the responder chain, with guidance on choosing the right approach. - Use Case: You are modernizing a legacy AppKit app and need to embed a new SwiftUI settings panel while keeping the existing NSTableView-based main window. The Skill walks you through NSHostingController setup, shared @Observable state, and common retain-cycle pitfalls. ## Quick Start Ask the assistant to help you wrap an AppKit view in SwiftUI or embed a SwiftUI view in your existing AppKit app, and it will apply the bridging patterns from this Skill.