Contents

UTGetOSTypeFromString(_:)

Decodes a tag string into an OSType.

Declaration

func UTGetOSTypeFromString(_ inString: CFString) -> OSType

Parameters

  • inString:

    A string that encodes an OSType.

Return Value

The OSType that was encoded in the string.

Discussion

You call this function to convert an OSType string returned by a UTI function back into the integer-based OSType.

See Also

Related Documentation