---
title: NSXPCConnection.Options
framework: foundation
role: symbol
role_heading: Structure
path: foundation/nsxpcconnection/options
---

# NSXPCConnection.Options

Options that you can pass to a connection.

## Declaration

```swift
struct Options
```

## Topics

### Constants

- [privileged](foundation/nsxpcconnection/options/privileged.md)

### Initializers

- [init(rawValue:)](foundation/nsxpcconnection/options/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Creating a connection

- [init(listenerEndpoint:)](foundation/nsxpcconnection/init(listenerendpoint:).md)
- [init(machServiceName:options:)](foundation/nsxpcconnection/init(machservicename:options:).md)
- [init(serviceName:)](foundation/nsxpcconnection/init(servicename:).md)
