Contents

record()

Creates and initializes a descriptor for an Apple event record whose data has yet to be set.

Declaration

class func record() -> NSAppleEventDescriptor

Return Value

An Apple event descriptor whose data has yet to be set, or nil if an error occurs.

Discussion

An Apple event record is a descriptor whose data is a set of descriptors keyed by four-character codes. You can add information to the descriptor with methods such as setAttribute(_:forKeyword:), setDescriptor(_:forKeyword:), and setParam(_:forKeyword:).

Invoking this method is equivalent to allocating an instance of NSAppleEventDescriptor and invoking init(recordDescriptor:).

See Also

Creating and Initializing Descriptors