appkit-swiftui-bridge

Community

Bridge AppKit and SwiftUI with expert guidance.

Authorkmshdev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Bridges AppKit and SwiftUI to enable hybrid macOS UI development, allowing developers to reuse AppKit components inside SwiftUI and progressively migrate interfaces.

Core Features & Use Cases

  • NSViewRepresentable: Wrap AppKit views for integration in SwiftUI.
  • Hosting controllers: Use NSHostingController/NSHostingView to embed SwiftUI in AppKit apps.
  • State bridging: Share and synchronize state between frameworks using Combine and Observable.
  • Use Case: Migrate a large AppKit-based window to SwiftUI in stages while preserving behavior.

Quick Start

Create an NSViewRepresentable wrapper for a target AppKit view and integrate it with a SwiftUI view using an NSHostingController to begin bridging.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: appkit-swiftui-bridge
Download link: https://github.com/kmshdev/claude-swift-toolkit/archive/main.zip#appkit-swiftui-bridge

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.