Contents

list()

Creates and initializes an empty list descriptor.

Declaration

class func list() -> NSAppleEventDescriptor

Return 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