AI AGENT ADDONS

Swiftui Uikit Interop

dpearson2699/swift-ios-skills
Mobile Development
2,196installs

You can mix UIKit and SwiftUI in the same app. This skill shows you how to wrap UIKit views like camera previews or map views inside SwiftUI code. It also shows how to put SwiftUI views inside UIKit screens. This is useful when you are moving an old app to SwiftUI step by step.

You will learn about UIViewRepresentable and UIViewControllerRepresentable to use UIKit code in SwiftUI. You will also use UIHostingController to add SwiftUI inside UIKit. The skill covers delegate callbacks and state sharing between the two frameworks.

Everything works on iOS 16 and newer. The code examples use modern Swift patterns. This skill helps you keep old UIKit parts while adding new SwiftUI parts.

Add Swiftui Uikit Interop skill to your workflow

Global

mkdir -p ~/.claude/skills/swiftui-uikit-interop

Project

mkdir -p .claude/skills/swiftui-uikit-interop

Source Repository

Stars
809
Forks
44
Watchers
809
License
NOASSERTION
Last Push
1 month ago
Created
4 months ago