---
title: expectsReply
framework: xpc
role: symbol
role_heading: Instance Property
path: xpc/xpcreceivedmessage/expectsreply
---

# expectsReply

A Boolean value that indicates if the client that sent the message expects a reply.

## Declaration

```swift
var expectsReply: Bool { get }
```

## See Also

### Replying to messages

- [reply(_:)](xpc/xpcreceivedmessage/reply(_:).md)
- [handoffReply(to:_:)](xpc/xpcreceivedmessage/handoffreply(to:_:).md)
