Updates the state of the specified view controller with new information from SwiftUI.
- macOS 10.15+
- Xcode 11.0+
Your custom view controller object.
A context structure containing information about the current state of the system.
When the state of your app changes, SwiftUI updates the portions of your interface affected by those changes. SwiftUI calls this method for any changes affecting the corresponding AppKit view controller. Use this method to update the configuration of your view controller to match the new state information provided in the