Instance Method

run​Modal(with:​)

Displays the receiver and begins the modal loop using the given NSPrint​Info object.

Declaration

func runModal(with printInfo: NSPrintInfo) -> Int

Parameters

print​Info

The NSPrint​Info object to use.

Return Value

NSCancel​Button if the user clicks the Cancel button; otherwise, NSOKButton.

Discussion

The receiver’s values are recorded in print​Info.

See Also

Related Symbols

func run​Modal()

Displays the receiver and begins the modal loop using the shared NSPrint​Info object.