init(typeCode:)
Creates a descriptor initialized with type typeType that stores the specified type value.
Declaration
init(typeCode: OSType)Parameters
- typeCode:
The type value to be set in the returned descriptor.
Return Value
A descriptor with the specified type, or nil if an error occurs.
See Also
Creating and Initializing Descriptors
appleEvent(withEventClass:eventID:targetDescriptor:returnID:transactionID:)init(boolean:)init(enumCode:)init(int32:)init(string:)list()null()record()init(listDescriptor:)init(recordDescriptor:)init(aeDescNoCopy:)init(descriptorType:bytes:length:)init(descriptorType:data:)init(eventClass:eventID:targetDescriptor:returnID:transactionID:)