init(aeDescNoCopy:)
Initializes a newly allocated instance as a descriptor for the specified Carbon AEDesc structure.
Declaration
init(aeDescNoCopy aeDesc: UnsafePointer<AEDesc>)Parameters
- aeDesc:
A pointer to the
AEDescstructure 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.
See Also
Creating and Initializing Descriptors
appleEvent(withEventClass:eventID:targetDescriptor:returnID:transactionID:)init(boolean:)init(enumCode:)init(int32:)init(string:)init(typeCode:)list()null()record()init(listDescriptor:)init(recordDescriptor:)init(descriptorType:bytes:length:)init(descriptorType:data:)init(eventClass:eventID:targetDescriptor:returnID:transactionID:)