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