Contents

UTType

A structure that represents a type of data to load, send, or receive.

Declaration

struct UTType

Overview

The UTType instance may represent files on disk, abstract data types with no on-disk representation, or entirely unrelated hierarchical classification systems, such as hardware. Each instance has a unique identifier, and helpful properties, such as preferredFilenameExtension and preferredMIMEType.

A UTType instance may provide additional information related to the type. For example, it may include a localized user-facing description, a reference URL to technical documentation about the type, or its version number. You can look up types by their conformance to get either a type or a list of types that are relevant to your use case.

To define your own types in your app’s Info.plist, see Defining file and data types for your app.

Topics

Looking up a type

Creating a type

Identifying a type

Obtaining tags

Obtaining additional type information

Checking a type’s relationship to another type

Describing a type

3D content

Apple 3D content

Apple file system objects

Apple image formats

Apple system types

Application files

Audio

Audio and video

Compiled programming language sources

Compressed archives

Cryptographic files

Data interchange formats

Executables

Icon images

Images

Internet-specific

Property lists

Shazam

Scripted programming language sources

Text files

URLs

Apple system base types

Application base types

Image, audio, and video base types

Type Properties

Default Implementations

See Also

Uniform type identifiers