Contents

init(enumCode:)

Creates a descriptor initialized with type typeEnumerated that stores the specified enumerator data type value.

Declaration

init(enumCode enumerator: OSType)

Parameters

  • enumerator:

    A type code that identifies the type of enumerated data to be stored in the returned descriptor.

Return Value

A descriptor with the specified enumerator data type value, or nil if an error occurs.

See Also

Creating and Initializing Descriptors