Instance Method

replyToOpenOrPrint:

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

Declaration

- (void)replyToOpenOrPrint:(NSApplicationDelegateReply)reply;

Parameters

reply

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

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

- requestUserAttention:

Starts a user attention request.

NSRequestUserAttentionType

These constants specify the level of severity of a user attention request and are used by cancelUserAttentionRequest: and requestUserAttention:.

- cancelUserAttentionRequest:

Cancels a previous user attention request.

NSApplicationDelegateReply

Constants that indicate whether a copy or print operation was successful, was canceled, or failed.