SwiftUI Views Displayed by Other UI Frameworks

Integrate SwiftUI views into UIKit, AppKit, and WatchKit apps.

Overview 概要

Integrate SwiftUI with your app’s existing content using hosting controllers to add SwiftUI views into AppKit, UIKit, or WatchKit interfaces. A hosting controller wraps a set of SwiftUI views in a form that you can then add to your storyboard-based app.

To go the other direction and use views from other frameworks in a SwiftUI app, see Other UI Framework Views Displayed by SwiftUI.

Topics 話題

SwiftUI Views in AppKit

SwiftUI Views in UIKit

SwiftUI Views in WatchKit

See Also 参照

Framework Integration フレームワーク統合