addAccessoryController(_:)
Adds a custom controller to the Print panel to manage an accessory view.
Declaration
func addAccessoryController(_ accessoryController: any NSViewController & NSPrintPanelAccessorizing)Parameters
- accessoryController:
The view controller that manages your custom accessory views.
Discussion
You can invoke this method multiple times to add multiple accessory views to the receiver’s Print panel.
The title for the accessory view is obtained from the title method of the view controller object.