Creates and initializes a descriptor for an Apple event record whose data has yet to be set.
SDK
- macOS 10.0+
Framework
- Foundation
Declaration
class func record() -> NSApple Event Descriptor
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 set
, set
, and set
.
Invoking this method is equivalent to allocating an instance of NSApple
and invoking init(record
.