<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSApplication/DelegateReply",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSApplicationDelegateReply"
  },
  "title" : "NSApplication.DelegateReply"
}
-->

# NSApplication.DelegateReply

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

```
enum DelegateReply
```

## Overview

These constants are used by the [`reply(toOpenOrPrint:)`](/documentation/AppKit/NSApplication/reply(toOpenOrPrint:)) method.

## Topics

### Constants

[`NSApplication.DelegateReply.success`](/documentation/AppKit/NSApplication/DelegateReply/success)

Indicates the operation succeeded.

[`NSApplication.DelegateReply.cancel`](/documentation/AppKit/NSApplication/DelegateReply/cancel)

Indicates the user cancelled the operation.

[`NSApplication.DelegateReply.failure`](/documentation/AppKit/NSApplication/DelegateReply/failure)

Indicates an error occurred processing the operation.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)