class NSHostingController
An AppKit view controller that hosts SwiftUI view hierarchy.
あるAppKitビューコントローラ、それはSwiftUIビュー階層をホストします。
class NSHostingView
An AppKit view that hosts a SwiftUI view hierarchy.
あるAppKitビュー、それはSwiftUIビュー階層をホストします。
Technology
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.
class NSHostingController
class NSHostingView
class UIHostingController
class WKHostingController
class WKUserNotificationHostingController