let coordinator: ViewController .Coordinator
An object you use to communicate your AppKit view controller’s behavior and state out to SwiftUI objects.
var transaction: Transaction
The current transaction.
現在のトランザクション。
Availability 有効性
Technology
struct NSViewControllerRepresentableContext<ViewController> where ViewController : NSViewControllerRepresentable
An NSView
structure contains details about the current state of the system. When creating and updating your view controller, the system creates one of these structures and passes it to the appropriate method of your custom NSView
instance. Use the information in this structure to configure your view controller. For example, use the provided environment values to configure the appearance of your view controller and views.
この構造体の中の情報を使って、あなたのビューコントローラを構成設定してください。例えば、提供された環境値を使って、あなたのビューコントローラとビューの外観を構成設定してください。
Don’t create this structure yourself.
let coordinator: ViewController .Coordinator
var transaction: Transaction
var environment: EnvironmentValues
protocol NSViewRepresentable
struct NSViewRepresentableContext
protocol NSViewControllerRepresentable