The descriptor type of the receiver.
SDK
- macOS 10.0+
Framework
- Foundation
Declaration
var descriptorType: Desc Type { get }
The descriptor type of the receiver.
SDK
Framework
var descriptorType: Desc Type { get }
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 data: Data
The receiver’s data.
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.