Contents

init(typeCode:)

Creates a descriptor initialized with type typeType that stores the specified type value.

Declaration

init(typeCode: OSType)

Parameters

  • typeCode:

    The type value to be set in the returned descriptor.

Return Value

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

See Also

Creating and Initializing Descriptors