Contents

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 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.

See Also

Creating and Initializing Descriptors