Initializer
init(boolean:)
Creates a descriptor initialized with type typeBoolean
that stores the specified Boolean value.
Parameters
boolean
The Boolean value to be set in the returned descriptor.
Return Value
A descriptor with the specified Boolean value, or nil
if an error occurs.
See Also
Creating and Initializing Descriptors
init(enumCode: OSType)
Creates a descriptor initialized with type typeEnumerated
that stores the specified enumerator data type value.
init(int32: Int32)
Creates a descriptor initialized with Apple event type typeSInt32
that stores the specified integer value.
init(string: String)
Creates a descriptor initialized with type typeUnicodeText
that stores the text from the specified string.
init(typeCode: OSType)
Creates a descriptor initialized with type typeType
that stores the specified type value.