<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSAppleEventDescriptor/init(aeDescNoCopy:)-5cioa",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSAppleEventDescriptor(im)initWithAEDescNoCopy:"
  },
  "title" : "init(aeDescNoCopy:)"
}
-->

# init(aeDescNoCopy:)

Initializes a newly allocated instance as a descriptor for the specified Carbon `AEDesc` structure.

```
init(aeDescNoCopy aeDesc: UnsafePointer<AEDesc>)
```

## Parameters

`aeDesc`

A pointer to the `AEDesc` structure to associate with the descriptor.

## Return Value

An instance of `NSAppleEventDescriptor` that is associated with the structure pointed to by `aeDesc`, or `nil` if an error occurs.

## Discussion

The initialized object takes responsibility for calling the `AEDisposeDesc` function on the `AEDesc` at object deallocation time. This is the designated initializer for this class.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)