record()
Creates and initializes a descriptor for an Apple event record whose data has yet to be set.
Declaration
class func record() -> NSAppleEventDescriptorReturn 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
appleEvent(withEventClass:eventID:targetDescriptor:returnID:transactionID:)init(boolean:)init(enumCode:)init(int32:)init(string:)init(typeCode:)list()null()init(listDescriptor:)init(recordDescriptor:)init(aeDescNoCopy:)init(descriptorType:bytes:length:)init(descriptorType:data:)init(eventClass:eventID:targetDescriptor:returnID:transactionID:)