Objective-C wrapper class for Uniform Type Identifiers (UTIs)
Gets the known uniform type identifiers that most other type identifiers are derived from.
+ ( NSArray * )abstractTypes;
An array with the corresponding UTIs.
Gets an UTI object for the 'com.apple.alias-file' UTI.
+ ( instancetype )aliasFileTypeUTI;
The type identifier for a fully-formed alias file.
An UTI object.
Gets an UTI object for the 'com.apple.alias-record' UTI.
+ ( instancetype )aliasRecordTypeUTI;
The type identifier for raw alias data.
An UTI object.
Gets an array of all uniform type identifiers for the specified file extension.
+ ( NSArray * )allUTIsWithFileExtension: ( NSString * )extension;
An array of uniform type identifiers.
Gets an array of all uniform type identifiers for the specified file extension.
+ ( NSArray * )allUTIsWithFileExtension: ( NSString * )extension
allowDynamic: ( BOOL )dyn;
An array of uniform type identifiers.
Gets an array of all uniform type identifiers for the specified file extension.
+ ( NSArray * )allUTIsWithFileExtension: ( NSString * )extension
allowDynamic: ( BOOL )dyn;
Gets an array of all uniform type identifiers for the specified file extension.
+ ( NSArray * )allUTIsWithFileExtension: ( NSString * )extension
conformingTo: ( UTI * )uti;
An array of uniform type identifiers.
Gets an array of all uniform type identifiers for the specified file extension.
+ ( NSArray * )allUTIsWithFileExtension: ( NSString * )extension
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
An array of uniform type identifiers.
Gets an array of all uniform type identifiers for the specified file extension.
+ ( NSArray * )allUTIsWithFileExtension: ( NSString * )extension
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
Gets an array of all uniform type identifiers for the specified mime-type.
+ ( NSArray * )allUTIsWithMIMEType: ( NSString * )type;
An array of uniform type identifiers.
Gets an array of all uniform type identifiers for the specified mime-type.
+ ( NSArray * )allUTIsWithMIMEType: ( NSString * )type
allowDynamic: ( BOOL )dyn;
An array of uniform type identifiers.
Gets an array of all uniform type identifiers for the specified mime-type.
+ ( NSArray * )allUTIsWithMIMEType: ( NSString * )type
allowDynamic: ( BOOL )dyn;
Gets an array of all uniform type identifiers for the specified mime-type.
+ ( NSArray * )allUTIsWithMIMEType: ( NSString * )type
conformingTo: ( UTI * )uti;
An array of uniform type identifiers.
Gets an array of all uniform type identifiers for the specified mime-type.
+ ( NSArray * )allUTIsWithMIMEType: ( NSString * )type
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
An array of uniform type identifiers.
Gets an array of all uniform type identifiers for the specified mime-type.
+ ( NSArray * )allUTIsWithMIMEType: ( NSString * )type
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
Gets an array of all uniform type identifiers for the specified NSPasteboardType.
+ ( NSArray * )allUTIsWithNSPboardType: ( NSString * )type;
An array of uniform type identifiers.
Gets an array of all uniform type identifiers for the specified NSPasteboardType.
+ ( NSArray * )allUTIsWithNSPboardType: ( NSString * )type
allowDynamic: ( BOOL )dyn;
An array of uniform type identifiers.
Gets an array of all uniform type identifiers for the specified NSPasteboardType.
+ ( NSArray * )allUTIsWithNSPboardType: ( NSString * )type
allowDynamic: ( BOOL )dyn;
Gets an array of all uniform type identifiers for the specified NSPasteboardType.
+ ( NSArray * )allUTIsWithNSPboardType: ( NSString * )type
conformingTo: ( UTI * )uti;
An array of uniform type identifiers.
Gets an array of all uniform type identifiers for the specified NSPasteboardType.
+ ( NSArray * )allUTIsWithNSPboardType: ( NSString * )type
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
An array of uniform type identifiers.
Gets an array of all uniform type identifiers for the specified NSPasteboardType.
+ ( NSArray * )allUTIsWithNSPboardType: ( NSString * )type
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
Gets an array of all uniform type identifiers for the specified OSType.
+ ( NSArray * )allUTIsWithOSType: ( NSString * )type;
An array of uniform type identifiers.
Gets an array of all uniform type identifiers for the specified OSType.
+ ( NSArray * )allUTIsWithOSType: ( NSString * )type
allowDynamic: ( BOOL )dyn;
An array of uniform type identifiers.
Gets an array of all uniform type identifiers for the specified OSType.
+ ( NSArray * )allUTIsWithOSType: ( NSString * )type
allowDynamic: ( BOOL )dyn;
Gets an array of all uniform type identifiers for the specified OSType.
+ ( NSArray * )allUTIsWithOSType: ( NSString * )type
conformingTo: ( UTI * )uti;
An array of uniform type identifiers.
Gets an array of all uniform type identifiers for the specified OSType.
+ ( NSArray * )allUTIsWithOSType: ( NSString * )type
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
An array of uniform type identifiers.
Gets an array of all uniform type identifiers for the specified OSType.
+ ( NSArray * )allUTIsWithOSType: ( NSString * )type
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
Gets an array of all uniform type identifiers for the type indicated by the specified tag.
+ ( NSArray * )allUTIsWithTag: ( NSString * )tag tagClass: ( UTITagClass )tagClass
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
This method is used to translate a type declared using another declaration mechanism (for example, MIME types) into a uniform type identifier. This method searches all UTI declarations for a matching translation and returns all possible results. If a conforming parameter is assigned, the search is reduced to the subset of type identifiers that conform to that type.
An array of uniform type identifiers.
Gets an array of all uniform type identifiers for the type indicated by the specified tag.
+ ( NSArray * )allUTIsWithTag: ( NSString * )tag tagClass: ( UTITagClass )tagClass
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
This method is used to translate a type declared using another declaration mechanism (for example, MIME types) into a uniform type identifier. This method searches all UTI declarations for a matching translation and returns all possible results. If a conforming parameter is assigned, the search is reduced to the subset of type identifiers that conform to that type.
Gets an UTI object for the 'com.apple.icns' UTI.
+ ( instancetype )appleICNSTypeUTI;
The type identifier for Apple icon data.
An UTI object.
Gets an UTI object for the 'com.apple.protected-mpeg-4-audio' UTI.
+ ( instancetype )appleProtectedMPEG4AudioTypeUTI;
The type identifier for Apple protected MPEG4 format (.m4p, iTunes music store format).
An UTI object.
Gets an UTI object for the 'com.apple.application-bundle' UTI.
+ ( instancetype )applicationBundleTypeUTI;
The type identifier for a bundled application.
An UTI object.
Gets an UTI object for the 'com.apple.application-file' UTI.
+ ( instancetype )applicationFileTypeUTI;
The type identifier for a single-file Carbon/Classic application.
An UTI object.
Gets the known uniform type identifiers for application types.
+ ( NSArray * )applicationTypes;
An array with the corresponding UTIs.
Gets an UTI object for the 'com.apple.application' UTI.
+ ( instancetype )applicationTypeUTI;
The type identifier for Mac apps.
An UTI object.
Gets an UTI object for the 'public.archive' UTI.
+ ( instancetype )archiveTypeUTI;
The abstract type identifier for an archive of files and directories.
An UTI object.
Gets an UTI object for the 'public.audio' UTI.
+ ( instancetype )audioTypeUTI;
An abstract type identifier for pure audio data (no video).
An UTI object.
Gets the known uniform type identifier for audio and video content.
+ ( NSArray * )audioVisualContentTypes;
An array with the corresponding UTIs.
Gets an UTI object for the 'public.audiovisual-content' UTI.
+ ( instancetype )audiovisualContentTypeUTI;
An abstract type identifier for audio and/or video content.
An UTI object.
Gets an UTI object for the 'com.microsoft.bmp' UTI.
+ ( instancetype )BMPTypeUTI;
The type identifier for a Windows bitmap.
An UTI object.
Gets an UTI object for the 'com.apple.bundle' UTI.
+ ( instancetype )bundleTypeUTI;
The type identifier for a directory conforming to a CFBundle layout
An UTI object.
Gets an UTI object for the 'public.c-header' UTI.
+ ( instancetype )CHeaderTypeUTI;
The type identifier for a C header.
An UTI object.
Gets the known uniform type identifiers for content that includes multiple data types.
+ ( NSArray * )compositeContentTypes;
An array with the corresponding UTIs.
Gets an UTI object for the 'public.composite-content' UTI.
+ ( instancetype )compositeContentTypeUTI;
The abstract type identifier for content formats supporting mixed embedded content (i.e., compound documents).
An UTI object.
Gets the known uniform type identifiers for concrete types.
+ ( NSArray * )concreteTypes;
An array with the corresponding UTIs.
Returns a Boolean value that indicates whether a given object is an UTI object and conforms to the receiver.
- ( BOOL )conformsToUTI: ( UTI * )uti;
YES if the uti is an UTI object and is conforms to the receiver, otherwise NO.
Gets the known uniform type identifiers for contact types.
+ ( NSArray * )contactTypes;
An array with the corresponding UTIs.
Gets an UTI object for the 'public.contact' UTI.
+ ( instancetype )contactTypeUTI;
The abstract type identifier for contact information( for example, a person, group, or organization).
An UTI object.
Gets an UTI object for the 'public.content' UTI.
+ ( instancetype )contentTypeUTI;
The abstract type identifier for anything containing user-viewable document content (documents, pasteboard data, and document packages).
An UTI object.
Gets an UTI object for the 'public.c-plus-plus-header' UTI.
+ ( instancetype )CPlusPlusHeaderTypeUTI;
The type identifier for a C++ header.
An UTI object.
Gets an UTI object for the 'public.c-plus-plus-source' UTI.
+ ( instancetype )CPlusPlusSourceTypeUTI;
The type identifier for C++ source code (.cp, etc.).
An UTI object.
Gets an UTI object for the 'public.c-source' UTI.
+ ( instancetype )CSourceTypeUTI;
The type identifier for C source code (.c).
An UTI object.
Gets an UTI object for the 'public.data' UTI.
+ ( instancetype )dataTypeUTI;
The type identifier for any sort of simple byte stream, including files and in-memory data.
An UTI object.
Gets the known uniform type identifiers for different directory types.
+ ( NSArray * )directoryTypes;
An array with the corresponding UTIs.
Gets an UTI object for the 'public.directory' UTI.
+ ( instancetype )directoryTypeUTI;
The type identifier for a file system directory, including packages and folders.
An UTI object.
Gets an UTI object for the 'public.disk-image' UTI.
+ ( instancetype )diskImageTypeUTI;
The type identifier for a data item mountable as a volume.
An UTI object.
Gets an UTI object for the 'public.file-url' UTI.
+ ( instancetype )fileURLTypeUTI;
The type identifier for the text of a "file:" URL.
An UTI object.
Gets an UTI object for the 'com.apple.flat-rtfd' UTI.
+ ( instancetype )flatRTFDTypeUTI;
The type identifier for Flattened RTFD (pasteboard format).
An UTI object.
Gets an UTI object for the 'public.folder' UTI.
+ ( instancetype )folderTypeUTI;
The type identifier for a a user-browsable directory (i.e., not a package).
An UTI object.
Gets an UTI object for the 'com.apple.framework' UTI.
+ ( instancetype )frameworkTypeUTI;
The type identifier for directory conforming to an OS X framework.
An UTI object.
Gets an UTI object for the 'com.compuserve.gif' UTI.
+ ( instancetype )GIFTypeUTI;
The type identifier for a GIF image.
An UTI object.
Gets an UTI object for the 'public.html' UTI.
+ ( instancetype )HTMLTypeUTI;
The type identifier for HTML, any version.
An UTI object.
Gets an UTI object for the 'com.microsoft.ico' UTI.
+ ( instancetype )ICOTypeUTI;
The type identifier for Windows icon data.
An UTI object.
Gets the known uniform type identifiers for graphics content.
+ ( NSArray * )imageContentTypes;
An array with the corresponding UTIs.
Gets an UTI object for the 'public.image' UTI.
+ ( instancetype )imageTypeUTI;
The abstract type identifier for image data.
An UTI object.
Gets an UTI object with a CoreFoundation string.
+ ( instancetype )UTIWithCFString: ( CFStringRef )str;
An UTI object.
Gets an UTI object with a CoreFoundation string.
+ ( instancetype )UTIWithCFString: ( CFStringRef )str
allowDynamic: ( BOOL )dyn;
An UTI object.
Initializes an UTI object with a CoreFoundation string.
- ( instancetype )initWithCFString: ( CFStringRef )str NS_DESIGNATED_INITIALIZER;
An UTI object.
Gets an UTI object with a file extension.
+ ( instancetype )UTIWithFileExtension: ( NSString * )extension;
An UTI object.
Gets an UTI object with a file extension.
+ ( instancetype )UTIWithFileExtension: ( NSString * )extension
allowDynamic: ( BOOL )dyn;
An UTI object.
Initializes an UTI object with a file extension.
- ( instancetype )initWithFileExtension: ( NSString * )extension;
An UTI object.
Gets an UTI object with a file extension.
+ ( instancetype )UTIWithFileExtension: ( NSString * )extension
conformingTo: ( UTI * )uti;
An UTI object.
Gets an UTI object with a file extension.
+ ( instancetype )UTIWithFileExtension: ( NSString * )extension
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
An UTI object.
Initializes an UTI object with a file extension.
- ( instancetype )initWithFileExtension: ( NSString * )extension
conformingTo: ( UTI * )uti;
An UTI object.
Gets an UTI object with a mime-type.
+ ( instancetype )UTIWithMIMEType: ( NSString * )type;
An UTI object.
Gets an UTI object with a mime-type.
+ ( instancetype )UTIWithMIMEType: ( NSString * )type
allowDynamic: ( BOOL )dyn;
An UTI object.
Initializes an UTI object with a mime-type.
- ( instancetype )initWithMIMEType: ( NSString * )type;
An UTI object.
Gets an UTI object with a mime-type.
+ ( instancetype )UTIWithMIMEType: ( NSString * )type
conformingTo: ( UTI * )uti;
An UTI object.
Gets an UTI object with a mime-type.
+ ( instancetype )UTIWithMIMEType: ( NSString * )type
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
An UTI object.
Initializes an UTI object with a mime-type.
- ( instancetype )initWithMIMEType: ( NSString * )type
conformingTo: ( UTI * )uti;
An UTI object.
Gets an UTI object with a NSPasteboardType.
+ ( instancetype )UTIWithNSPboardType: ( NSString * )type;
An UTI object.
Gets an UTI object with a NSPasteboardType.
+ ( instancetype )UTIWithNSPboardType: ( NSString * )type
allowDynamic: ( BOOL )dyn;
An UTI object.
Initializes an UTI object with a NSPasteboardType.
- ( instancetype )initWithNSPboardType: ( NSString * )type;
An UTI object.
Gets an UTI object with a NSPasteboardType.
+ ( instancetype )UTIWithNSPboardType: ( NSString * )type
conformingTo: ( UTI * )uti;
An UTI object.
Gets an UTI object with a NSPasteboardType.
+ ( instancetype )UTIWithNSPboardType: ( NSString * )type
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
An UTI object.
Initializes an UTI object with a NSPasteboardType.
- ( instancetype )initWithNSPboardType: ( NSString * )type
conformingTo: ( UTI * )uti;
An UTI object.
Gets an UTI object with an OSType.
+ ( instancetype )UTIWithOSType: ( NSString * )type;
An UTI object.
Gets an UTI object with an OSType.
+ ( instancetype )UTIWithOSType: ( NSString * )type
allowDynamic: ( BOOL )dyn;
An UTI object.
Initializes an UTI object with an OSType.
- ( instancetype )initWithOSType: ( NSString * )type;
An UTI object.
Gets an UTI object with an OSType.
+ ( instancetype )UTIWithOSType: ( NSString * )type
conformingTo: ( UTI * )uti;
An UTI object.
Gets an UTI object with an OSType.
+ ( instancetype )UTIWithOSType: ( NSString * )type
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
An UTI object.
Initializes an UTI object with an OSType.
- ( instancetype )initWithOSType: ( NSString * )type
conformingTo: ( UTI * )uti;
An UTI object.
Gets an UTI object with a string.
+ ( instancetype )UTIWithString: ( NSString * )str;
An UTI object.
Gets an UTI object with a string.
+ ( instancetype )UTIWithString: ( NSString * )str
allowDynamic: ( BOOL )dyn;
An UTI object.
Initializes an UTI object with a string.
- ( instancetype )initWithString: ( NSString * )str;
An UTI object.
Gets a uniform type identifier for the type indicated by the specified tag.
+ ( instancetype )UTIWithTag: ( NSString * )tag tagClass: ( UTITagClass )tagClass
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
This method is used to translate a type declared using another declaration mechanism (for example, MIME types) into a uniform type identifier. This method searches all UTI declarations for a matching translation. If a conforming parameter is assigned, the search is reduced to the subset of type identifiers that conform to that type.
An UTI object
Initializes a uniform type identifier for the type indicated by the specified tag.
- ( instancetype )initWithTag: ( NSString * )tag tagClass: ( UTITagClass )tagClass
conformingTo: ( UTI * )uti NS_DESIGNATED_INITIALIZER;
This method is used to translate a type declared using another declaration mechanism (for example, MIME types) into a uniform type identifier. This method searches all UTI declarations for a matching translation. If a conforming parameter is assigned, the search is reduced to the subset of type identifiers that conform to that type.
An UTI object
Gets an UTI object for the 'com.apple.ink.inktext' UTI.
+ ( instancetype )inkTextTypeUTI;
The type identifier for Opaque InkText data.
An UTI object.
Returns a Boolean value that indicates whether a given object is an UTI object and exactly equal the receiver.
- ( BOOL )isEqualToUTI: ( UTI * )uti;
YES if the uti is an UTI object and is exactly equal to the receiver, otherwise NO.
Gets an UTI object for the 'public.item' UTI.
+ ( instancetype )itemTypeUTI;
The generic abstract type identifier for most things (files, directories).
An UTI object.
Gets an UTI object for the 'com.sun.java-source' UTI.
+ ( instancetype )javaSourceTypeUTI;
The type identifier for Java source code.
An UTI object.
Gets an UTI object for the 'public.jpeg-2000' UTI.
+ ( instancetype )JPEG2000TypeUTI;
The type identifier for a JPEG-2000 image.
An UTI object.
Gets an UTI object for the 'public.jpeg' UTI.
+ ( instancetype )JPEGTypeUTI;
The type identifier for a JPEG image.
An UTI object.
Gets an UTI object for the 'public.message' UTI.
+ ( instancetype )messageTypeUTI;
The abstract type identifier for messages (email, instant message, etc.).
An UTI object.
Gets the known uniform type identifiers for types that do not fit in other categories.
+ ( NSArray * )miscellaneousTypes;
An array with the corresponding UTIs.
Gets an UTI object for the 'com.apple.mount-point' UTI.
+ ( instancetype )mountPointTypeUTI;
The type identifier for a root directory of a volume.
An UTI object.
Gets an UTI object for the 'public.movie' UTI.
+ ( instancetype )movieTypeUTI;
An abstract type identifier for a media format which may contain both video and audio. Corresponds to what users would label a "movie"
An UTI object.
Gets an UTI object for the 'public.mp3' UTI.
+ ( instancetype )MP3TypeUTI;
The type identifier for MP3 audio.
An UTI object.
Gets an UTI object for the 'public.mpeg-4-audio' UTI.
+ ( instancetype )MPEG4AudioTypeUTI;
The type identifier for a MPEG-4 audio layer (.m4a, or the MIME type audio/MP4).
An UTI object.
Gets an UTI object for the 'public.mpeg-4' UTI.
+ ( instancetype )MPEG4TypeUTI;
The type identifier for a MPEG-4 movie.
An UTI object.
Gets an UTI object for the 'public.mpeg' UTI.
+ ( instancetype )MPEGTypeUTI;
The type identifier for a MPEG-1 or MPEG-2 movie.
An UTI object.
Gets a value from the UTI declaration's dictionary
- ( id )objectForDeclarationDictionaryKey: ( UTIDeclarationDictionaryKey )key;
The dictionary value corresponding to the specified key.
Gets an UTI object for the 'public.objective-c-plus-plus-source' UTI.
+ ( instancetype )objectiveCPlusPlusSourceTypeUTI;
The type identifier for Objective-C++ source code.
An UTI object.
Gets an UTI object for the 'public.objective-c-source' UTI.
+ ( instancetype )objectiveCSourceTypeUTI;
The type identifier for Objective-C source code (.m).
An UTI object.
Decodes a tag string into an OSType.
+ ( OSType )OSTypeForString: ( NSString * )str;
This method is only available for OS X targets. On iOS platforms, nil will be always returned.
The OSType that was encoded in the string.
Gets an UTI object for the 'com.apple.package' UTI.
+ ( instancetype )packageTypeUTI;
The type identifier for a packaged directory.
An UTI object.
Gets an UTI object for the 'com.adobe.pdf' UTI.
+ ( instancetype )PDFTypeUTI;
The type identifier for Adobe PDF format.
An UTI object.
Gets an UTI object for the 'com.apple.pict' UTI.
+ ( instancetype )PICTTypeUTI;
The type identifier for a Quickdraw PICT.
An UTI object.
Gets an UTI object for the 'public.plain-text' UTI.
+ ( instancetype )plainTextTypeUTI;
The type identifier for text with no markup and in an unspecified encoding.
An UTI object.
Gets an UTI object for the 'public.png' UTI.
+ ( instancetype )PNGTypeUTI;
The type identifier for a PNG image.
An UTI object.
Translates a uniform type identifier to a list of tags in a different type classification method.
- ( NSString * )preferredTagForTagClass: ( UTITagClass )tagClass;
A string value
Gets an UTI object for the 'com.apple.quicktime-image' UTI.
+ ( instancetype )quickTimeImageTypeUTI;
The type identifier for a QuickTime image. Corresponds to the 'qtif' OSType.
An UTI object.
Gets an UTI object for the 'com.apple.quicktime-movie' UTI.
+ ( instancetype )quickTimeMovieTypeUTI;
The type identifier for a QuickTime movie.
An UTI object.
Gets an UTI object for the 'com.apple.resolvable' UTI.
+ ( instancetype )resolvableTypeUTI;
The type identifier for symbolic links and alias files.
An UTI object.
Gets an UTI object for the 'com.apple.rtfd' UTI.
+ ( instancetype )RTFDTypeUTI;
The type identifier for Rich Text Format Directory (RTF with content embedding, on-disk format).
An UTI object.
Gets an UTI object for the 'public.rtf' UTI.
+ ( instancetype )RTFTypeUTI;
The type identifier for Rich Text Format.
An UTI object.
Gets an UTI object for the 'public.source-code' UTI.
+ ( instancetype )sourceCodeTypeUTI;
The abstract type identifier for source code (any language).
An UTI object.
Encodes an OSType into a string suitable for use as a tag argument.
+ ( NSString * )stringForOSType: ( OSType )type;
This method is only available for OS X targets. On iOS platforms, nil will be always returned.
A string that encodes the OSType.
Gets an UTI object for the 'public.symlink' UTI.
+ ( instancetype )symLinkTypeUTI;
The type identifier for a symbolic link.
An UTI object.
Gets the known uniform type identifiers for text content.
+ ( NSArray * )textTypes;
An array with the corresponding UTIs.
Gets an UTI object for the 'public.text' UTI.
+ ( instancetype )textTypeUTI;
The type identifier for all text-encoded data, including text with markup (HTML, RTF, etc.).
An UTI object.
Gets an UTI object for the 'public.tiff' UTI.
+ ( instancetype )TIFFTypeUTI;
The type identifier for a TIFF image.
An UTI object.
Gets an UTI object for the 'com.apple.txn.text-multimedia-data' UTI.
+ ( instancetype )TXNTextAndMultimediaDataTypeUTI;
The type identifier for MLTE (Textension) format for mixed text and multimedia data. Corresponds to the 'txtn' OSType.
An UTI object.
Gets an UTI object for the 'public.url' UTI.
+ ( instancetype )URLTypeUTI;
The type identifier for the bytes of a URL.
An UTI object.
Gets an UTI object for the 'public.utf16-external-plain-text' UTI.
+ ( instancetype )UTF16ExternalPlainTextTypeUTI;
The type identifier for plain text in a UTF-16 encoding. If the encoded text does not include a byte order mark (BOM), the data has "external representation" byte order (big-endian).
An UTI object.
Gets an UTI object for the 'public.utf16-plain-text' UTI.
+ ( instancetype )UTF16PlainTextTypeUTI;
The type identifier for plain text in a UTF-16 encoding in native byte order. The byte order mark (BOM) is optional. Correspondes to the 'utxt' OSType.
An UTI object.
Gets an UTI object for the 'public.utf8-plain-text' UTI.
+ ( instancetype )UTF8PlainTextTypeUTI;
The type identifier for plain text in a UTF-8 encoding.
An UTI object.
Gets an UTI object with a CoreFoundation string.
+ ( instancetype )UTIWithCFString: ( CFStringRef )str;
Gets an UTI object with a CoreFoundation string.
+ ( instancetype )UTIWithCFString: ( CFStringRef )str
allowDynamic: ( BOOL )dyn;
Gets an UTI object with a file extension.
+ ( instancetype )UTIWithFileExtension: ( NSString * )extension;
Gets an UTI object with a file extension.
+ ( instancetype )UTIWithFileExtension: ( NSString * )extension
allowDynamic: ( BOOL )dyn;
Gets an UTI object with a file extension.
+ ( instancetype )UTIWithFileExtension: ( NSString * )extension
conformingTo: ( UTI * )uti;
Gets an UTI object with a file extension.
+ ( instancetype )UTIWithFileExtension: ( NSString * )extension
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
Gets an UTI object with a mime-type.
+ ( instancetype )UTIWithMIMEType: ( NSString * )type;
Gets an UTI object with a mime-type.
+ ( instancetype )UTIWithMIMEType: ( NSString * )type
allowDynamic: ( BOOL )dyn;
Gets an UTI object with a mime-type.
+ ( instancetype )UTIWithMIMEType: ( NSString * )type
conformingTo: ( UTI * )uti;
Gets an UTI object with a mime-type.
+ ( instancetype )UTIWithMIMEType: ( NSString * )type
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
Gets an UTI object with a NSPasteboardType.
+ ( instancetype )UTIWithNSPboardType: ( NSString * )type;
Gets an UTI object with a NSPasteboardType.
+ ( instancetype )UTIWithNSPboardType: ( NSString * )type
allowDynamic: ( BOOL )dyn;
Gets an UTI object with a NSPasteboardType.
+ ( instancetype )UTIWithNSPboardType: ( NSString * )type
conformingTo: ( UTI * )uti;
Gets an UTI object with a NSPasteboardType.
+ ( instancetype )UTIWithNSPboardType: ( NSString * )type
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
Gets an UTI object with an OSType.
+ ( instancetype )UTIWithOSType: ( NSString * )type;
Gets an UTI object with an OSType.
+ ( instancetype )UTIWithOSType: ( NSString * )type
allowDynamic: ( BOOL )dyn;
Gets an UTI object with an OSType.
+ ( instancetype )UTIWithOSType: ( NSString * )type
conformingTo: ( UTI * )uti;
Gets an UTI object with an OSType.
+ ( instancetype )UTIWithOSType: ( NSString * )type
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
Gets an UTI object with a string.
+ ( instancetype )UTIWithString: ( NSString * )str;
Gets an UTI object with a string.
+ ( instancetype )UTIWithString: ( NSString * )str
allowDynamic: ( BOOL )dyn;
Gets a uniform type identifier for the type indicated by the specified tag.
+ ( instancetype )UTIWithTag: ( NSString * )tag tagClass: ( UTITagClass )tagClass
conformingTo: ( UTI * )uti allowDynamic: ( BOOL )dyn;
This method is used to translate a type declared using another declaration mechanism (for example, MIME types) into a uniform type identifier. This method searches all UTI declarations for a matching translation. If a conforming parameter is assigned, the search is reduced to the subset of type identifiers that conform to that type.
Gets an UTI object for the 'public.vcard' UTI.
+ ( instancetype )vCardTypeUTI;
The type identifier for VCard format.
An UTI object.
Gets an UTI object for the 'public.video' UTI.
+ ( instancetype )videoTypeUTI;
An abstract type identifier for pure video data(no audio).
An UTI object.
Gets an UTI object for the 'public.volume' UTI.
+ ( instancetype )volumeTypeUTI;
The type identifier for the root folder of a volume/mount point.
An UTI object.
Gets an UTI object for the 'com.apple.webarchive' UTI.
+ ( instancetype )webArchiveTypeUTI;
The type identifier for the WebKit web archive format
An UTI object.
Gets an UTI object for the 'public.xml' UTI.
+ ( instancetype )XMLTypeUTI;
The type identifier for XML data.
An UTI object.
Returns the UTIs to which this identifier conforms.
@property( nonatomic,
readonly ) NSArray * conformsTo;
Returns a uniform type’s declaration.
@property( nonatomic,
readonly ) NSDictionary * declaration;
A uniform type identifier is declared in a bundle’s information property list (info.plist). This method extracts and returns a dictionary that contains the complete declaration of the uniform type identifier. This is useful when your application needs to access properties that does not have a built-in accessor method.
Returns the location of a bundle containing the declaration for a type.
@property( nonatomic,
readonly ) NSURL * declaringBundleURL;
Returns the localized, user-readable type description string associated with a uniform type identifier.
@property( nonatomic,
readonly ) NSString * description;
The localized string that describes the uniform type is found in the type’s declaration.
Returns an array of exported UTI declarations.
@property( nonatomic,
readonly ) NSArray * exportedTypes;
Returns the name of the bundle icon resource to associate with this UTI.
@property( nonatomic,
readonly ) NSString * iconFile;
Returns the uniform type identifier for the declared type.
@property( nonatomic,
readonly ) NSString * identifier;
Returns an array of imported UTI declarations.
@property( nonatomic,
readonly ) NSArray * importedTypes;
Returns the preferred filename extension for an UTI.
@property( nonatomic,
readonly ) NSString * preferredFilenameExtension;
Returns the preferred mime-type for an UTI.
@property( nonatomic,
readonly ) NSString * preferredMIMEType;
Returns the preferred NSPasteboardType for an UTI.
@property( nonatomic,
readonly ) NSString * preferredNSPboardType;
Returns the preferred OSType for an UTI.
@property( nonatomic,
readonly ) NSString * preferredOSType;
Returns the URL of a reference document describing this type.
@property( nonatomic,
readonly ) NSURL * referenceURL;
Returns a dictionary containing conversions of the uniform type identifier to equivalent tags in other classification schemes.
@property( nonatomic,
readonly ) NSDictionary * tagSpecifications;
The known keys for values found in a UTI dictionary.
typedef enum {
UTIDeclarationDictionaryKeyExportedType = 0x00,
UTIDeclarationDictionaryKeyImportedType = 0x01,
UTIDeclarationDictionaryKeyIdentifier = 0x02,
UTIDeclarationDictionaryKeyTagSpecification = 0x03,
UTIDeclarationDictionaryKeyConformsTo = 0x04,
UTIDeclarationDictionaryKeyDescription = 0x05,
UTIDeclarationDictionaryKeyIconFile = 0x06,
UTIDeclarationDictionaryKeyReferenceURL = 0x07,
UTIDeclarationDictionaryKeyVersion = 0x08
} UTIDeclarationDictionaryKey;
The tagging classification schemes that a uniform type identifier can be converted to and from.
typedef enum {
UTITagClassFilenameExtension = 0x00,
UTITagClassMIMEType = 0x01,
UTITagClassNSPboardType = 0x02,
UTITagClassOSType = 0x03
} UTITagClass;
The 'UTITagClassNSPboardType' and 'UTITagClassOSType' values are only available for OS X targets. Using them on iOS platforms will always return a nil value.