Other UI Framework Views Displayed by SwiftUI

Embed AppKit, UIKit, and WatchKit views and controllers into SwiftUI view hierarchies.

Overview 概要

Integrate SwiftUI with your app’s existing content using representable objects to add AppKit, UIKit, or WatchKit views and view controllers to your SwiftUI interfaces. A representable object wraps the designated view or view controller and facilitates communication between the wrapped object and your SwiftUI views.

To go the other direction and use SwiftUI views in other frameworks, see SwiftUI Views Displayed by Other UI Frameworks.

Topics 話題

AppKit Views in SwiftUI Apps

UIKit Views in SwiftUI Apps

WatchKit Views in SwiftUI Apps

See Also 参照

Framework Integration フレームワーク統合