---
title: descriptor
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsscriptobjectspecifier/descriptor
---

# descriptor

Returns an Apple event descriptor that represents the receiver.

## Declaration

```swift
@NSCopying var descriptor: NSAppleEventDescriptor? { get }
```

## Return Value

Return Value An Apple event descriptor of type typeObjectSpecifier.

## Discussion

Discussion If the receiver was created with init(descriptor:), the passed-in descriptor is returned. Otherwise, a new descriptor is created and returned, autoreleased.
