Instance Method


Adds a custom controller to the Print panel to manage an accessory view.


func addAccessoryController(_ accessoryController: NSViewController & NSPrintPanelAccessorizing)



The view controller that manages your custom accessory views.


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.

See Also

Managing Accessory Views

func removeAccessoryController(NSViewController & NSPrintPanelAccessorizing)

Removes the specified controller and accessory view from the Print panel.

protocol NSPrintPanelAccessorizing

A set of methods that a print panel object can use to get information from a printing accessory controller.

var accessoryControllers: [NSViewController]

The array of controller objects that manage the Print panel’s accessory views.