Expand description
§Bindings to the UniformTypeIdentifiers
framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- UTType
UTType
- A class representing a type in a type hierarchy.
Statics§
- UTTag
Class ⚠Filename Extension UTTagClass
- The tag class for filename extensions such as
"txt".
The leading period character is not part of the filename extension and should not be included in the tag. - UTTag
ClassMIME ⚠Type UTTagClass
- The tag class for MIME types such as
"text/plain".
- UTType3D
Content ⚠UTCoreTypes
andUTType
- A base type for 3D content.
- UTTypeAHAP⚠
UTCoreTypes
andUTType
- An Apple Haptics Audio Pattern file.
- UTTypeAIFF⚠
UTCoreTypes
andUTType
- The AIFF audio format
- UTTypeAR
Reference ⚠Object UTCoreTypes
andUTType
- An AR reference object.
- UTTypeAVI⚠
UTCoreTypes
andUTType
- The AVI movie format.
- UTType
Alias ⚠File UTCoreTypes
andUTType
- A fully-formed alias file.
- UTType
Apple ⚠Archive UTCoreTypes
andUTType
- An Apple Archive.
- UTType
Apple ⚠ProtectedMPE G4Audio UTCoreTypes
andUTType
- The Apple protected MPEG4 format (.m4p, iTunes music store format.)
- UTType
Apple ⚠ProtectedMPE G4Video UTCoreTypes
andUTType
- An Apple protected MPEG-4 movie.
- UTType
Apple ⚠Script UTCoreTypes
andUTType
- An AppleScript text-based script (.applescript).
- UTType
Application ⚠UTCoreTypes
andUTType
- The base type for macOS and iOS applications.
- UTType
Application ⚠Bundle UTCoreTypes
andUTType
- A bundled application.
- UTType
Application ⚠Extension UTCoreTypes
andUTType
- An application extension (.appex).
- UTType
Archive ⚠UTCoreTypes
andUTType
- an archive of files and directories
- UTType
Assembly ⚠Language Source UTCoreTypes
andUTType
- Assembly language source (.s)
- UTType
Audio ⚠UTCoreTypes
andUTType
- Pure audio data with no video data.
- UTType
Audiovisual ⚠Content UTCoreTypes
andUTType
- Any audio and/or video content.
- UTTypeBMP⚠
UTCoreTypes
andUTType
- A Windows bitmap.
- UTTypeB
Z2 ⚠UTCoreTypes
andUTType
- A bzip2 archive.
- UTType
Binary ⚠Property List UTCoreTypes
andUTType
- A binary property list.
- UTType
Bookmark ⚠UTCoreTypes
andUTType
- A bookmark.
- UTType
Bundle ⚠UTCoreTypes
andUTType
- A directory conforming to one of the
CFBundle
layouts. - UTTypeC
Header ⚠UTCoreTypes
andUTType
- A C header.
- UTTypeC
Plus ⚠Plus Header UTCoreTypes
andUTType
- A C++ header.
- UTTypeC
Plus ⚠Plus Source UTCoreTypes
andUTType
- C++ source code (.cp, etc.)
- UTTypeCSS⚠
UTCoreTypes
andUTType
- Cascading Style Sheets (CSS)
- UTTypeC
Source ⚠UTCoreTypes
andUTType
- C source code (.c)
- UTType
Calendar ⚠Event UTCoreTypes
andUTType
- A calendar event.
- UTType
Comma ⚠Separated Text UTCoreTypes
andUTType
- Text containing comma-separated values (.csv).
- UTType
Composite ⚠Content UTCoreTypes
andUTType
- A base type for content formats supporting mixed embedded content (i.e., compound documents).
- UTType
Contact ⚠UTCoreTypes
andUTType
- contact information, e.g. for a person, group, organization
- UTType
Content ⚠UTCoreTypes
andUTType
- A base type for anything containing user-viewable document content (documents, pasteboard data, and document packages.)
- UTTypeDNG⚠
UTCoreTypes
andUTType
- An Adobe DNG (digital negative) image.
- UTType
Data ⚠UTCoreTypes
andUTType
- A base type for any sort of simple byte stream, including files and in-memory data.
- UTType
Database ⚠UTCoreTypes
andUTType
- A database store.
- UTType
Delimited ⚠Text UTCoreTypes
andUTType
- Text containing delimited values.
- UTType
Directory ⚠UTCoreTypes
andUTType
- A file system directory (includes packages _and_folders.)
- UTType
Disk ⚠Image UTCoreTypes
andUTType
- A data item mountable as a volume
- UTTypeEPUB⚠
UTCoreTypes
andUTType
- The EPUB format.
- UTTypeEXE⚠
UTCoreTypes
andUTType
- A Windows executable (.exe).
- UTTypeEXR⚠
UTCoreTypes
andUTType
- An EXR image.
- UTType
Email ⚠Message UTCoreTypes
andUTType
- An e-mail message.
- UTType
Executable ⚠UTCoreTypes
andUTType
- An executable item.
- UTType
FileURL ⚠UTCoreTypes
andUTType
- A URL with the scheme
"file:".
UTI: public.file-url - UTType
FlatRTFD ⚠UTCoreTypes
andUTType
- A flattened RTFD document (formatted for the pasteboard.)
- UTType
Folder ⚠UTCoreTypes
andUTType
- A user-browsable directory (i.e. not a package.)
- UTType
Font ⚠UTCoreTypes
andUTType
- A base type for fonts.
- UTType
Framework ⚠UTCoreTypes
andUTType
- A macOS or iOS framework bundle.
- UTTypeGIF⚠
UTCoreTypes
andUTType
- A GIF image.
- UTTypeGZIP⚠
UTCoreTypes
andUTType
- A GNU zip archive.
- UTType
GeoJSON ⚠UTCoreTypes
andUTType
- A GeoJSON file.
- UTTypeHEIC⚠
UTCoreTypes
andUTType
- A High Efficiency Image Coding image.
- UTTypeHEICS⚠
UTCoreTypes
andUTType
- A High Efficiency Image Coding Image Sequence.
- UTTypeHEIF⚠
UTCoreTypes
andUTType
- A High Efficiency Image File Format image.
- UTTypeHTML⚠
UTCoreTypes
andUTType
- Any version of HTML.
- UTTypeICNS⚠
UTCoreTypes
andUTType
- Apple icon data
- UTTypeICO⚠
UTCoreTypes
andUTType
- Windows icon data
- UTType
Image ⚠UTCoreTypes
andUTType
- A base type for abstract image data.
- UTType
Internet ⚠Location UTCoreTypes
andUTType
- A base type for Apple Internet location files.
- UTType
Internet ⚠Shortcut UTCoreTypes
andUTType
- Microsoft Internet shortcut files (.url).
- UTType
Item ⚠UTCoreTypes
andUTType
- A generic base type for most things (files, directories.)
- UTTypeJPEG⚠
UTCoreTypes
andUTType
- A JPEG image.
- UTTypeJPEGXL⚠
UTCoreTypes
andUTType
- A JPEG-XL encoded image.
- UTTypeJSON⚠
UTCoreTypes
andUTType
- JavaScript object notation (JSON) data
- UTType
Java ⚠Script UTCoreTypes
andUTType
- JavaScript source code
- UTType
Link ⚠Presentation Metadata UTCoreTypes
andUTType
- Serialized LinkPresentation metadata.
- UTType
Live ⚠Photo UTCoreTypes
andUTType
- A Live Photo.
- UTType
Log ⚠UTCoreTypes
andUTType
- A base type for console logs.
- UTType
M3UPlaylist ⚠UTCoreTypes
andUTType
- An M3U or M3U8 playlist
- UTTypeMIDI⚠
UTCoreTypes
andUTType
- The MIDI audio format.
- UTTypeM
P3 ⚠UTCoreTypes
andUTType
- MP3 audio.
- UTTypeMPEG⚠
UTCoreTypes
andUTType
- An MPEG-1 or MPEG-2 movie.
- UTTypeMPE
G2Transport ⚠Stream UTCoreTypes
andUTType
- The MPEG-2 Transport Stream movie format.
- UTTypeMPE
G2Video ⚠UTCoreTypes
andUTType
- An MPEG-2 video.
- UTTypeMPE
G4Audio ⚠UTCoreTypes
andUTType
- An MPEG-4 audio layer file.
- UTTypeMPE
G4Movie ⚠UTCoreTypes
andUTType
- MPEG-4 movie
- UTType
Makefile ⚠UTCoreTypes
andUTType
- A makefile.
- UTType
Message ⚠UTCoreTypes
andUTType
- A base type for messages (email, IM, etc.)
- UTType
Mount ⚠Point UTCoreTypes
andUTType
- A volume mount point (resolvable, resolves to the root directory of a volume.)
- UTType
Movie ⚠UTCoreTypes
andUTType
- A media format which may contain both video and audio.
- UTTypeOSA
Script ⚠UTCoreTypes
andUTType
- An Open Scripting Architecture binary script (.scpt).
- UTTypeOSA
Script ⚠Bundle UTCoreTypes
andUTType
- An Open Scripting Architecture script bundle (.scptd).
- UTType
ObjectiveC ⚠Plus Plus Source UTCoreTypes
andUTType
- Objective-C++ source code.
- UTType
ObjectiveC ⚠Source UTCoreTypes
andUTType
- Objective-C source code (.m)
- UTTypePDF⚠
UTCoreTypes
andUTType
- An Adobe PDF document.
- UTTypePHP
Script ⚠UTCoreTypes
andUTType
- A PHP script.
- UTTypePKC
S12 ⚠UTCoreTypes
andUTType
- PKCS#12 data.
- UTTypePNG⚠
UTCoreTypes
andUTType
- A PNG image.
- UTType
Package ⚠UTCoreTypes
andUTType
- A packaged directory.
- UTType
Perl ⚠Script UTCoreTypes
andUTType
- A Perl script.
- UTType
Plain ⚠Text UTCoreTypes
andUTType
- Text with no markup and an unspecified encoding.
- UTType
Playlist ⚠UTCoreTypes
andUTType
- The base type for playlists.
- UTType
Plugin ⚠Bundle UTCoreTypes
andUTType
- The base type for bundle-based plugins.
- UTType
Presentation ⚠UTCoreTypes
andUTType
- A base type for presentation documents.
- UTType
Property ⚠List UTCoreTypes
andUTType
- A base type for property lists.
- UTType
Python ⚠Script UTCoreTypes
andUTType
- A Python script.
- UTType
Quick ⚠Look Generator UTCoreTypes
andUTType
- A QuickLook preview generator bundle.
- UTType
Quick ⚠Time Movie UTCoreTypes
andUTType
- A QuickTime movie.
- UTTypeRAW
Image ⚠UTCoreTypes
andUTType
- A base type for raw image data (.raw).
- UTTypeRTF⚠
UTCoreTypes
andUTType
- Rich Text Format data.
- UTTypeRTFD⚠
UTCoreTypes
andUTType
- A Rich Text Format Directory document (RTF with content embedding in its on-disk format.)
- UTType
Reality ⚠File UTCoreTypes
andUTType
- A Reality File.
- UTType
Resolvable ⚠UTCoreTypes
andUTType
- Symbolic link and alias file types conform to this type.
- UTType
Ruby ⚠Script UTCoreTypes
andUTType
- A Ruby script.
- UTTypeSVG⚠
UTCoreTypes
andUTType
- A Scalable Vector Graphics image.
- UTType
Scene ⚠KitScene UTCoreTypes
andUTType
- A SceneKit serialized scene.
- UTType
Script ⚠UTCoreTypes
andUTType
- A base type for any scripting language source.
- UTType
Shell ⚠Script UTCoreTypes
andUTType
- The base type for shell scripts.
- UTType
Source ⚠Code UTCoreTypes
andUTType
- Abstract type for source code of any language.
- UTType
Spotlight ⚠Importer UTCoreTypes
andUTType
- A Spotlight metadata importer bundle.
- UTType
Spreadsheet ⚠UTCoreTypes
andUTType
- A base type for spreadsheet documents.
- UTType
Swift ⚠Source UTCoreTypes
andUTType
- Swift source code (.swift)
- UTType
Symbolic ⚠Link UTCoreTypes
andUTType
- A symbolic link.
- UTType
System ⚠Preferences Pane UTCoreTypes
andUTType
- A System Preferences pane.
- UTTypeTIFF⚠
UTCoreTypes
andUTType
- A TIFF image.
- UTType
TabSeparated ⚠Text UTCoreTypes
andUTType
- Text containing tab-separated values.
- UTType
TarArchive ⚠UTCoreTypes
andUTType
- A tar Archive.
- UTType
Text ⚠UTCoreTypes
andUTType
- The base type for all text-encoded data, including text with markup (HTML, RTF, etc.).
- UTType
ToDo ⚠Item UTCoreTypes
andUTType
- A to-do item.
- UTTypeURL⚠
UTCoreTypes
andUTType
- Any URL.
- UTTypeURL
Bookmark ⚠Data UTCoreTypes
andUTType
- A URL bookmark.
- UTTypeUSD⚠
UTCoreTypes
andUTType
- Universal Scene Description content.
- UTTypeUSDZ⚠
UTCoreTypes
andUTType
- Universal Scene Description Package content.
- UTTypeUT
F8Plain ⚠Text UTCoreTypes
andUTType
- Plain text encoded as UTF-8.
- UTTypeUT
F8Tab ⚠Separated Text UTCoreTypes
andUTType
- UTF-8 encoded text containing tab-separated values.
- UTTypeUT
F16External ⚠Plain Text UTCoreTypes
andUTType
- Plain text encoded as UTF-16 with a BOM, or if a BOM is not present, using “external representation” byte order (big-endian).
- UTTypeUT
F16Plain ⚠Text UTCoreTypes
andUTType
- Plain text encoded as UTF-16, in native byte order, with an optional BOM.
- UTType
Unix ⚠Executable UTCoreTypes
andUTType
- A UNIX executable (flat file.)
- UTTypeV
Card ⚠UTCoreTypes
andUTType
- A vCard file.
- UTType
Video ⚠UTCoreTypes
andUTType
- Pure video data with no audio data.
- UTType
Volume ⚠UTCoreTypes
andUTType
- The root folder of a volume or mount point.
- UTTypeWAV⚠
UTCoreTypes
andUTType
- The Microsoft waveform audio format (.wav).
- UTType
WebArchive ⚠UTCoreTypes
andUTType
- The WebKit webarchive format.
- UTType
WebP ⚠UTCoreTypes
andUTType
- The WebP image format.
- UTType
X509 ⚠Certificate UTCoreTypes
andUTType
- An X.509 certificate.
- UTTypeXML⚠
UTCoreTypes
andUTType
- Generic XML.
- UTTypeXML
Property ⚠List UTCoreTypes
andUTType
- An XML property list.
- UTTypeXPC
Service ⚠UTCoreTypes
andUTType
- An XPC service bundle.
- UTTypeYAML⚠
UTCoreTypes
andUTType
- Yet Another Markup Language.
- UTTypeZIP⚠
UTCoreTypes
andUTType
- A zip archive.
Traits§
- NSItem
ProviderUT Type NSItemProvider_UTType
- Category “UTType” on
NSItemProvider
. - NSStringUT
Additions UTAdditions
- Category “UTAdditions” on
NSString
. - NSURLUT
Additions UTAdditions
- Category “UTAdditions” on
NSURL
.