init(string:)
Creates a descriptor initialized with type typeUnicodeText that stores the text from the specified string.
Declaration
init(string: String)Parameters
- string:
A string that specifies the text to be stored in the returned descriptor.
Return Value
A descriptor that contains the text from the specified string, 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(typeCode:)list()null()record()init(listDescriptor:)init(recordDescriptor:)init(aeDescNoCopy:)init(descriptorType:bytes:length:)init(descriptorType:data:)init(eventClass:eventID:targetDescriptor:returnID:transactionID:)