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

# init(bundleIdentifier:)

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

## Declaration

```swift
init(bundleIdentifier: String)
```

## Discussion

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