Enumeration

NSApplication.DelegateReply

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

Declaration

enum DelegateReply : UInt

Overview

These constants are used by the reply(toOpenOrPrint:) method.

Topics

Constants

case success

Indicates the operation succeeded.

case cancel

Indicates the user cancelled the operation.

case failure

Indicates an error occurred processing the operation.

See Also

Managing User Attention Requests

enum NSApplication.RequestUserAttentionType

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

func cancelUserAttentionRequest(Int)

Cancels a previous user attention request.

func reply(toOpenOrPrint: NSApplication.DelegateReply)

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