---
title: NSApplication.DelegateReply
framework: appkit
role: symbol
role_heading: Enumeration
path: appkit/nsapplication/delegatereply
---

# NSApplication.DelegateReply

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

## Declaration

```swift
enum DelegateReply
```

## Overview

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

## Topics

### Constants

- [NSApplication.DelegateReply.success](appkit/nsapplication/delegatereply/success.md)
- [NSApplication.DelegateReply.cancel](appkit/nsapplication/delegatereply/cancel.md)
- [NSApplication.DelegateReply.failure](appkit/nsapplication/delegatereply/failure.md)

### Initializers

- [init(rawValue:)](appkit/nsapplication/delegatereply/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Managing user attention requests

- [requestUserAttention(_:)](appkit/nsapplication/requestuserattention(_:).md)
- [NSApplication.RequestUserAttentionType](appkit/nsapplication/requestuserattentiontype.md)
- [cancelUserAttentionRequest(_:)](appkit/nsapplication/canceluserattentionrequest(_:).md)
- [reply(toOpenOrPrint:)](appkit/nsapplication/reply(toopenorprint:).md)
