Enumeration

NSApplicationDelegateReply

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

Declaration

typedef enum NSApplicationDelegateReply : NSUInteger {
    ...
} NSApplicationDelegateReply;

Overview

These constants are used by the replyToOpenOrPrint: method.

Topics

Constants

NSApplicationDelegateReplySuccess

Indicates the operation succeeded.

NSApplicationDelegateReplyCancel

Indicates the user cancelled the operation.

NSApplicationDelegateReplyFailure

Indicates an error occurred processing the operation.

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.

- replyToOpenOrPrint:

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