---
title: "init(aeDescNoCopy:)"
framework: foundation
role: symbol
role_heading: Initializer
path: "foundation/nsappleeventdescriptor/init(aedescnocopy:)-5cioa"
---

# init(aeDescNoCopy:)

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

## Declaration

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

## Parameters

- `aeDesc`: A pointer to the AEDesc structure to associate with the descriptor.

## Return Value

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

## Discussion

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.

## See Also

### Creating and Initializing Descriptors

- [appleEvent(withEventClass:eventID:targetDescriptor:returnID:transactionID:)](foundation/nsappleeventdescriptor/appleevent(witheventclass:eventid:targetdescriptor:returnid:transactionid:).md)
- [init(boolean:)](foundation/nsappleeventdescriptor/init(boolean:).md)
- [init(enumCode:)](foundation/nsappleeventdescriptor/init(enumcode:).md)
- [init(int32:)](foundation/nsappleeventdescriptor/init(int32:).md)
- [init(string:)](foundation/nsappleeventdescriptor/init(string:).md)
- [init(typeCode:)](foundation/nsappleeventdescriptor/init(typecode:).md)
- [list()](foundation/nsappleeventdescriptor/list().md)
- [null()](foundation/nsappleeventdescriptor/null().md)
- [record()](foundation/nsappleeventdescriptor/record().md)
- [init(listDescriptor:)](foundation/nsappleeventdescriptor/init(listdescriptor:).md)
- [init(recordDescriptor:)](foundation/nsappleeventdescriptor/init(recorddescriptor:).md)
- [init(descriptorType:bytes:length:)](foundation/nsappleeventdescriptor/init(descriptortype:bytes:length:).md)
- [init(descriptorType:data:)](foundation/nsappleeventdescriptor/init(descriptortype:data:).md)
- [init(eventClass:eventID:targetDescriptor:returnID:transactionID:)](foundation/nsappleeventdescriptor/init(eventclass:eventid:targetdescriptor:returnid:transactionid:).md)
