The receiver’s data.
SDK
- macOS 10.0+
Framework
- Foundation
Declaration
var data: Data { get }
Discussion
An instance of NSData
containing the receiver’s data, or nil
if an error occurs.
The receiver’s data.
SDK
Framework
var data: Data { get }
An instance of NSData
containing the receiver’s data, or nil
if an error occurs.
var ae Desc: Unsafe Pointer<AEDesc>?
The AEDesc
structure encapsulated by the receiver, if it has one.
var boolean Value: Bool
The contents of the receiver as a Boolean value, coercing (to type
) if necessary.
func coerce(to Descriptor Type: Desc Type) -> NSApple Event Descriptor?
Returns a descriptor obtained by coercing the receiver to the specified type.
var descriptor Type: Desc Type
The descriptor type of the receiver.
var enum Code Value: OSType
The contents of the receiver as an enumeration type, coercing to type
if necessary.
var int32Value: Int32
The contents of the receiver as an integer, coercing (to type
) if necessary.
var number Of Items: Int
The number of descriptors in the receiver’s descriptor list.
var string Value: String?
The contents of the receiver as a Unicode text string, coercing to type
if necessary.
var type Code Value: OSType
The contents of the receiver as a type, coercing to type
if necessary.