Protocol

NSPrintPanelAccessorizing

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

Overview

A printing accessory controller manages a custom print panel accessory view and used to coordinate print settings. If you are implementing a custom printing accessory view, your controller must support this protocol. Implementation of only one method in the protocol is actually required. The other method is considered optional and is used to support the print panel’s built-in preview facilities.

Topics

Responding to Being Loaded from a Nib File

func localizedSummaryItems()

Returns an array of dictionaries containing the localized user setting summary strings.

Required.

func keyPathsForValuesAffectingPreview()

Returns a set of strings identifying the key paths for any properties that might affect the built-in print preview. (optional)

Constants

Printing Summary Item Keys

These keys must be included in the dictionaries returned by the localizedSummaryItems() method.

See Also

Print and PDF Panels

class NSPDFPanel

A Save or Export as PDF panel that’s consistent with the macOS user interface.