list()
Creates and initializes an empty list descriptor.
Declaration
class func list() -> NSAppleEventDescriptorReturn Value
An empty list descriptor, or nil if an error occurs.
Discussion
A list descriptor is a descriptor whose data consists of one or more descriptors. You can add items to the list by calling insert(_:at:) or remove them with remove(at:).
Invoking this method is equivalent to allocating an instance of NSAppleEventDescriptor and invoking init(listDescriptor:).
See Also
Creating and Initializing Descriptors
appleEvent(withEventClass:eventID:targetDescriptor:returnID:transactionID:)init(boolean:)init(enumCode:)init(int32:)init(string:)init(typeCode:)null()record()init(listDescriptor:)init(recordDescriptor:)init(aeDescNoCopy:)init(descriptorType:bytes:length:)init(descriptorType:data:)init(eventClass:eventID:targetDescriptor:returnID:transactionID:)