Contents

reply(toOpenOrPrint:)

Handles errors that might occur when the user attempts to open or print files.

Declaration

func reply(toOpenOrPrint reply: NSApplication.DelegateReply)

Parameters

  • reply:

    The error that occurred. For a list of possible values, see Delegatereply.

Discussion

Delegates should invoke this method if an error is encountered in the application(_:openFiles:) or application(_:printFiles:withSettings:showPrintPanels:) delegate methods.

See Also

Managing user attention requests