Instance Method


Displays the receiver's Print panel and begins the modal loop.


func runModal() -> Int

Return Value

NSCancelButton if the user clicks the Cancel button; otherwise NSOKButton.


This method uses the printing information associated with the current printing operation.

See Also

Running the Panel

func runModal(with: NSPrintInfo) -> Int

Displays the receiver’s Print panel and runs the modal loop using the specified printing information.