---
title: "init(processIdentifier:)"
framework: foundation
role: symbol
role_heading: Initializer
path: "foundation/nsappleeventdescriptor/init(processidentifier:)"
---

# init(processIdentifier:)

Creates and returns an application address descriptor using the specified process identifier.

## Declaration

```swift
init(processIdentifier: pid_t)
```

## Discussion

Discussion The result is suitable for use as the targetDescriptor parameter of +appleEventWithEventClass:eventID:targetDescriptor:returnID:transactionID:.
