Runs the print operation, calling your custom delegate method upon completion.
- macOS 10.0+
The document window to receive a print progress sheet.
The printing delegate object. Messages are sent to this object.
The delegate method called after the completion of the print operation.
A pointer to any data you want passed to the method in the
The method specified by the
did parameter must have the following signature:
The value of
YES if the print operation ran to completion without cancellation or error, and
If you send
can to an
NSPrint object with an argument of
YES, then the delegate specified in a subsequent invocation of
run may be messaged in that spawned, non-main thread.