前言
本文具有强烈的个人感情色彩,如有观看不适,请尽快关闭. 本文仅作为个人学习记录使用,也欢迎在许可协议范围内转载或分享,请尊重版权并且保留原文链接,谢谢您的理解合作. 如果您觉得本站对您能有帮助,您可以使用RSS方式订阅本站,感谢支持!
文件扩展名
最近开发过程中遇到了一个很低级的问题,有点类似网盘app里面要区分各种文件类型,然后找出对应的文件归属icon并显示,做为一个极客精神的iOS开发者,我想找到一种文件扩展名集合并不需要自己命名枚举值,这时我想起2015年左右开发百度网盘时调研过的airdrop,其中苹果规定了分享文件到其它手机需要提供的文件唯一标识(UTI)
,于是我找了一下文档记录一下如下的文件类型列表.
苹果的CoreServices.framework中有一个UTCoreTypes.h
头文件记录了所有的文件类型.
下面是我去掉所有注释的代码.当然这些仅限于苹果内部可识别的类型,那些不太常用的类型文件或者自定义扩展名文件类型在这里就不赘述了,如果需要搞个通配类型即可,或者单独处理.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
#ifndef __UTCORETYPES__
#define __UTCORETYPES__
#ifndef __COREFOUNDATION__
#include <CoreFoundation/CoreFoundation.h>
#endif
#include <Availability.h>
#if PRAGMA_ONCE
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
CF_ASSUME_NONNULL_BEGIN
#pragma mark - Abstract base types
extern const CFStringRef kUTTypeItem API_DEPRECATED_WITH_REPLACEMENT("UTTypeItem", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeContent API_DEPRECATED_WITH_REPLACEMENT("UTTypeContent", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeCompositeContent API_DEPRECATED_WITH_REPLACEMENT("UTTypeCompositeContent", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeMessage API_DEPRECATED_WITH_REPLACEMENT("UTTypeMessage", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeContact API_DEPRECATED_WITH_REPLACEMENT("UTTypeContact", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeArchive API_DEPRECATED_WITH_REPLACEMENT("UTTypeArchive", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeDiskImage API_DEPRECATED_WITH_REPLACEMENT("UTTypeDiskImage", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
#pragma mark - Concrete base types
extern const CFStringRef kUTTypeData API_DEPRECATED_WITH_REPLACEMENT("UTTypeData", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeDirectory API_DEPRECATED_WITH_REPLACEMENT("UTTypeDirectory", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeResolvable API_DEPRECATED_WITH_REPLACEMENT("UTTypeResolvable", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeSymLink API_DEPRECATED_WITH_REPLACEMENT("UTTypeSymLink", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeExecutable API_DEPRECATED_WITH_REPLACEMENT("UTTypeExecutable", ios(8.0, API_TO_BE_DEPRECATED), macos(10.5, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeMountPoint API_DEPRECATED_WITH_REPLACEMENT("UTTypeMountPoint", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeAliasFile API_DEPRECATED_WITH_REPLACEMENT("UTTypeAliasFile", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeAliasRecord API_DEPRECATED("The Alias Manager is obsolete.", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeURLBookmarkData API_DEPRECATED_WITH_REPLACEMENT("UTTypeURLBookmarkData", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
#pragma mark - URL types
extern const CFStringRef kUTTypeURL API_DEPRECATED_WITH_REPLACEMENT("UTTypeURL", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeFileURL API_DEPRECATED_WITH_REPLACEMENT("UTTypeFileURL", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
#pragma mark - Text types
extern const CFStringRef kUTTypeText API_DEPRECATED_WITH_REPLACEMENT("UTTypeText", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypePlainText API_DEPRECATED_WITH_REPLACEMENT("UTTypePlainText", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeUTF8PlainText API_DEPRECATED_WITH_REPLACEMENT("UTTypeUTF8PlainText", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeUTF16ExternalPlainText API_DEPRECATED_WITH_REPLACEMENT("UTTypeUTF16ExternalPlainText", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeUTF16PlainText API_DEPRECATED_WITH_REPLACEMENT("UTTypeUTF16PlainText", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeDelimitedText API_DEPRECATED_WITH_REPLACEMENT("UTTypeDelimitedText", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeCommaSeparatedText API_DEPRECATED_WITH_REPLACEMENT("UTTypeCommaSeparatedText", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeTabSeparatedText API_DEPRECATED_WITH_REPLACEMENT("UTTypeTabSeparatedText", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeUTF8TabSeparatedText API_DEPRECATED_WITH_REPLACEMENT("UTTypeUTF8TabSeparatedText", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeRTF API_DEPRECATED_WITH_REPLACEMENT("UTTypeRTF", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
#pragma mark - Markup languages
extern const CFStringRef kUTTypeHTML API_DEPRECATED_WITH_REPLACEMENT("UTTypeHTML", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeXML API_DEPRECATED_WITH_REPLACEMENT("UTTypeXML", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
#pragma mark - Programming languages
extern const CFStringRef kUTTypeSourceCode API_DEPRECATED_WITH_REPLACEMENT("UTTypeSourceCode", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeAssemblyLanguageSource API_DEPRECATED_WITH_REPLACEMENT("UTTypeAssemblyLanguageSource", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeCSource API_DEPRECATED_WITH_REPLACEMENT("UTTypeCSource", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeObjectiveCSource API_DEPRECATED_WITH_REPLACEMENT("UTTypeObjectiveCSource", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeSwiftSource API_DEPRECATED_WITH_REPLACEMENT("UTTypeSwiftSource", ios(9.0, API_TO_BE_DEPRECATED), macos(10.11, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeCPlusPlusSource API_DEPRECATED_WITH_REPLACEMENT("UTTypeCPlusPlusSource", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeObjectiveCPlusPlusSource API_DEPRECATED_WITH_REPLACEMENT("UTTypeObjectiveCPlusPlusSource", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeCHeader API_DEPRECATED_WITH_REPLACEMENT("UTTypeCHeader", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeCPlusPlusHeader API_DEPRECATED_WITH_REPLACEMENT("UTTypeCPlusPlusHeader", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeJavaSource API_DEPRECATED("Java support is no longer provided by this operating system. Install a JDK to use Java.", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
#pragma mark - Scripting languages
extern const CFStringRef kUTTypeScript API_DEPRECATED_WITH_REPLACEMENT("UTTypeScript", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeAppleScript API_DEPRECATED_WITH_REPLACEMENT("UTTypeAppleScript", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeOSAScript API_DEPRECATED_WITH_REPLACEMENT("UTTypeOSAScript", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeOSAScriptBundle API_DEPRECATED_WITH_REPLACEMENT("UTTypeOSAScriptBundle", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeJavaScript API_DEPRECATED_WITH_REPLACEMENT("UTTypeJavaScript", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeShellScript API_DEPRECATED_WITH_REPLACEMENT("UTTypeShellScript", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypePerlScript API_DEPRECATED_WITH_REPLACEMENT("UTTypePerlScript", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypePythonScript API_DEPRECATED_WITH_REPLACEMENT("UTTypePythonScript", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeRubyScript API_DEPRECATED_WITH_REPLACEMENT("UTTypeRubyScript", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypePHPScript API_DEPRECATED_WITH_REPLACEMENT("UTTypePHPScript", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
#pragma mark - Serialized data types
extern const CFStringRef kUTTypeJSON API_DEPRECATED_WITH_REPLACEMENT("UTTypeJSON", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypePropertyList API_DEPRECATED_WITH_REPLACEMENT("UTTypePropertyList", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeXMLPropertyList API_DEPRECATED_WITH_REPLACEMENT("UTTypeXMLPropertyList", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeBinaryPropertyList API_DEPRECATED_WITH_REPLACEMENT("UTTypeBinaryPropertyList", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
#pragma mark - Composite content types
extern const CFStringRef kUTTypePDF API_DEPRECATED_WITH_REPLACEMENT("UTTypePDF", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeRTFD API_DEPRECATED_WITH_REPLACEMENT("UTTypeRTFD", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeFlatRTFD API_DEPRECATED_WITH_REPLACEMENT("UTTypeFlatRTFD", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeTXNTextAndMultimediaData API_DEPRECATED("The Multilingual Text Engine is obsolete.", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeWebArchive API_DEPRECATED_WITH_REPLACEMENT("UTTypeWebArchive", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
#pragma mark - Image content types
extern const CFStringRef kUTTypeImage API_DEPRECATED_WITH_REPLACEMENT("UTTypeImage", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeJPEG API_DEPRECATED_WITH_REPLACEMENT("UTTypeJPEG", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeJPEG2000 API_DEPRECATED("JPEG2000 is no longer supported by this operating system.", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeTIFF API_DEPRECATED_WITH_REPLACEMENT("UTTypeTIFF", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypePICT API_DEPRECATED("QuickDraw is obsolete.", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeGIF API_DEPRECATED_WITH_REPLACEMENT("UTTypeGIF", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypePNG API_DEPRECATED_WITH_REPLACEMENT("UTTypePNG", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeQuickTimeImage API_DEPRECATED("The QuickTime Image file format is obsolete.", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeAppleICNS API_DEPRECATED_WITH_REPLACEMENT("UTTypeICNS", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeBMP API_DEPRECATED_WITH_REPLACEMENT("UTTypeBMP", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeICO API_DEPRECATED_WITH_REPLACEMENT("UTTypeICO", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeRawImage API_DEPRECATED_WITH_REPLACEMENT("UTTypeRAWImage", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeScalableVectorGraphics API_DEPRECATED_WITH_REPLACEMENT("UTTypeSVG", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeLivePhoto API_DEPRECATED_WITH_REPLACEMENT("UTTypeLivePhoto", ios(9.1, API_TO_BE_DEPRECATED), macos(10.12, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(2.1, API_TO_BE_DEPRECATED));
#pragma mark - Audiovisual content types
extern const CFStringRef kUTTypeAudiovisualContent API_DEPRECATED_WITH_REPLACEMENT("UTTypeAudiovisualContent", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeMovie API_DEPRECATED_WITH_REPLACEMENT("UTTypeMovie", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeVideo API_DEPRECATED_WITH_REPLACEMENT("UTTypeVideo", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeAudio API_DEPRECATED_WITH_REPLACEMENT("UTTypeAudio", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeQuickTimeMovie API_DEPRECATED_WITH_REPLACEMENT("UTTypeQuickTimeMovie", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeMPEG API_DEPRECATED_WITH_REPLACEMENT("UTTypeMPEG", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeMPEG2Video API_DEPRECATED_WITH_REPLACEMENT("UTTypeMPEG2Video", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeMPEG2TransportStream API_DEPRECATED_WITH_REPLACEMENT("UTTypeMPEG2TransportStream", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeMP3 API_DEPRECATED_WITH_REPLACEMENT("UTTypeMP3", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeMPEG4 API_DEPRECATED_WITH_REPLACEMENT("UTTypeMPEG4Video", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeMPEG4Audio API_DEPRECATED_WITH_REPLACEMENT("UTTypeMPEG4Audio", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeAppleProtectedMPEG4Audio API_DEPRECATED_WITH_REPLACEMENT("UTTypeAppleProtectedMPEG4Audio", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeAppleProtectedMPEG4Video API_DEPRECATED_WITH_REPLACEMENT("UTTypeAppleProtectedMPEG4Video", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeAVIMovie API_DEPRECATED_WITH_REPLACEMENT("UTTypeAVI", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeAudioInterchangeFileFormat API_DEPRECATED_WITH_REPLACEMENT("UTTypeAIFF", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeWaveformAudio API_DEPRECATED_WITH_REPLACEMENT("UTTypeWAV", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeMIDIAudio API_DEPRECATED_WITH_REPLACEMENT("UTTypeMIDI", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypePlaylist API_DEPRECATED_WITH_REPLACEMENT("UTTypePlaylist", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeM3UPlaylist API_DEPRECATED_WITH_REPLACEMENT("UTTypeM3UPlaylist", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
#pragma mark - Directory types
extern const CFStringRef kUTTypeFolder API_DEPRECATED_WITH_REPLACEMENT("UTTypeFolder", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeVolume API_DEPRECATED_WITH_REPLACEMENT("UTTypeVolume", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypePackage API_DEPRECATED_WITH_REPLACEMENT("UTTypePackage", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeBundle API_DEPRECATED_WITH_REPLACEMENT("UTTypeBundle", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypePluginBundle API_DEPRECATED_WITH_REPLACEMENT("UTTypePluginBundle", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeSpotlightImporter API_DEPRECATED_WITH_REPLACEMENT("UTTypeSpotlightImporter", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeQuickLookGenerator API_DEPRECATED_WITH_REPLACEMENT("UTTypeQuickLookGenerator", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeXPCService API_DEPRECATED_WITH_REPLACEMENT("UTTypeXPCService", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeFramework API_DEPRECATED_WITH_REPLACEMENT("UTTypeFramework", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
#pragma mark - Application and executable types
// Abstract executable types
extern const CFStringRef kUTTypeApplication API_DEPRECATED_WITH_REPLACEMENT("UTTypeApplication", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeApplicationBundle API_DEPRECATED_WITH_REPLACEMENT("UTTypeApplicationBundle", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeApplicationFile API_DEPRECATED_WITH_REPLACEMENT("Classic applications are obsolete.", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeUnixExecutable API_DEPRECATED_WITH_REPLACEMENT("UTTypeUnixExecutable", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
// Other platform binaries
extern const CFStringRef kUTTypeWindowsExecutable API_DEPRECATED_WITH_REPLACEMENT("UTTypeEXE", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeJavaClass API_DEPRECATED("Java support is no longer provided by this operating system. Install a JDK to use Java.", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeJavaArchive API_DEPRECATED("Java support is no longer provided by this operating system. Install a JDK to use Java.", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
// Misc. binaries
extern const CFStringRef kUTTypeSystemPreferencesPane API_DEPRECATED_WITH_REPLACEMENT("UTTypeSystemPreferencesPane", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
#pragma mark - Archival and compression types
extern const CFStringRef kUTTypeGNUZipArchive API_DEPRECATED_WITH_REPLACEMENT("UTTypeGZIP", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeBzip2Archive API_DEPRECATED_WITH_REPLACEMENT("UTTypeBZ2", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeZipArchive API_DEPRECATED_WITH_REPLACEMENT("UTTypeZIP", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
#pragma mark - Document types
extern const CFStringRef kUTTypeSpreadsheet API_DEPRECATED_WITH_REPLACEMENT("UTTypeSpreadsheet", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypePresentation API_DEPRECATED_WITH_REPLACEMENT("UTTypePresentation", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeDatabase API_DEPRECATED_WITH_REPLACEMENT("UTTypeDatabase", ios(8.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
#pragma mark - Messages, contacts, and calendar types
extern const CFStringRef kUTTypeVCard API_DEPRECATED_WITH_REPLACEMENT("UTTypeVCard", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeToDoItem API_DEPRECATED_WITH_REPLACEMENT("UTTypeToDoItem", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeCalendarEvent API_DEPRECATED_WITH_REPLACEMENT("UTTypeCalendarEvent", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeEmailMessage API_DEPRECATED_WITH_REPLACEMENT("UTTypeEmailMessage", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
#pragma mark - Internet locations
extern const CFStringRef kUTTypeInternetLocation API_DEPRECATED_WITH_REPLACEMENT("UTTypeInternetLocation", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
#pragma mark - Miscellaneous types
extern const CFStringRef kUTTypeInkText API_DEPRECATED("The Ink framework is obsolete.", ios(3.0, API_TO_BE_DEPRECATED), macos(10.4, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeFont API_DEPRECATED_WITH_REPLACEMENT("UTTypeFont", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeBookmark API_DEPRECATED_WITH_REPLACEMENT("UTTypeBookmark", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTType3DContent API_DEPRECATED_WITH_REPLACEMENT("UTType3DContent", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypePKCS12 API_DEPRECATED_WITH_REPLACEMENT("UTTypePKCS12", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeX509Certificate API_DEPRECATED_WITH_REPLACEMENT("UTTypeX509Certificate", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeElectronicPublication API_DEPRECATED_WITH_REPLACEMENT("UTTypeEPUB", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
extern const CFStringRef kUTTypeLog API_DEPRECATED_WITH_REPLACEMENT("UTTypeLog", ios(8.0, API_TO_BE_DEPRECATED), macos(10.10, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(1.0, API_TO_BE_DEPRECATED));
CF_ASSUME_NONNULL_END
#ifdef __cplusplus
}
#endif
#endif /* __UTCORETYPES__ */
Identifier (Constant) 文件类型 | Conforms to | Tags | Comments |
---|---|---|---|
public.item (kUTTypeItem) | - | Base type for the physical hierarchy. | |
public.content (kUTTypeContent) | - | Base type for all document content. | |
public.composite-content (kUTTypeCompositeContent) | public.content | Base type for mixed content. For example, a PDF file contains both text and special formatting data. | |
public.data (kUTTypeData) | public.item | Base physical type for byte streams (flat files, pasteboard data, and so on). | |
public.database | - | Base functional type for databases. | |
public.calendar-event | - | Base functional type for scheduled events. | |
public.message (kUTTypeMessage) | - | Base type for messages (email, IM, and so on). | |
public.presentation | public.composite-content | Base type for presentations. | |
public.contact (kUTTypeContact) | - | Base type for contact information. | |
public.archive (kUTTypeArchive) | - | Base type for an archive of files and directories. | |
public.disk-image (kUTTypeDiskImage) | public.archive | Base type for items mountable as a volume. | |
public.text (kUTTypeText) | public.content, public.data | Base type for all text, including text with markup information (HTML, RTF, and so on). | |
public.plain-text (kUTTypePlainText) | public.text | .txt, text/plain | Text of unspecified encoding, with no markup. Equivalent to the MIME type text/plain |
public.utf8-plain-text (kUTTypeUTF8PlainText) | public.plain-text | ‘utf8’, NSStringPBoardType | Unicode-8 |
public.utf16-external-plain-text (kUTTypeUTF16ExternalPlainText) | public.plain-text | ‘ut16’ | Unicode-16 with byte-order mark (BOM), or if BOM is not present, an external representation byte order (big-endian). |
public.utf16-plain-text (kUTTypeUTF16PlainText) | public.plain-text | ‘utxt’ | Unicode-16, native byte order, with an optional byte-order mark (BOM). |
com.apple.traditional-mac-plain-text | public.plain-text | ‘TEXT’ | Classic Mac OS text. |
public.rtf (kUTTypeRTF) | public.text | ‘RTF ‘, .rtf, text/rtf, NeXT Rich Text Format 1.0 pasteboard type, NSRTFPBoardType | Rich Text. |
com.apple.ink.inktext (kUTTypeInkText) | public.data | Opaque InkText data. | |
public.html (kUTTypeHTML) | public.text | ‘HTML’, .html, .htm, text/html, Apple HTML pasteboard type | HTML text. |
public.xml (kUTTypeXML) | public.text | .xml, text/xml | XML text. |
public.source-code (kUTTypeSourceCode) | public.plain-text | Generic source code. | |
public.c-source (kUTTypeCSource) | public.source-code | .c | C source code. |
public.objective-c-source (kUTTypeObjectiveCSource) | public.source-code | .m | Objective-C source code. |
public.c-plus-plus-source (kUTTypeCPlusPlusSource) | public.source-code | .cp, .cpp, .c++, .cc, .cxx | C++ source code. |
public.objective-c-plus-plus-source (kUTTypeObjectiveCPlusPlusSource) | public.source-code | .mm | Objective-C++ source code. |
public.c-header (kUTTypeCHeader) | public.source-code | .h | C header file. |
public.c-plus-plus-header (kUTTypeCPlusPlusHeader) | public.source-code | .hpp, .h++ , .hxx | C++ header file. |
com.sun.java-source (kUTTypeJavaSource) | public.source-code | .java, .jav | Java source code |
public.script | public.source-code | Base type for scripting language source code. | |
public.assembly-source | public.source-code | .s | Assembly language source code. |
com.apple.rez-source | public.source-code | .r | Rez source code. |
public.mig-source | public.source-code | .defs, .mig | Mig definition source code. |
com.apple.symbol-export | public.source-code | .exp | Symbol export list. |
com.netscape.javascript-source | public.source-code, public.executable | .js, .jscript, .javascript, text/javascript | JavaScript. |
public.shell-script | public.script | .sh, .command | Shell script. |
public.csh-script | public.shell-script | .csh | C-shell script. |
public.perl-script | public.shell-script | .pl, .pm, text/x-perl-script | Perl script. |
public.python-script | public.shell-script | .py, text/x-python-script | Python script. |
public.ruby-script | public.shell-script | .rb, .rbw, text/ruby-script | Ruby script. |
public.php-script | public.shell-script | .php, .php3, .php4, .ph3, .ph4, .phtml, text/x-php-script, text/php, application/php | PHP script. |
com.sun.java-web-start | public.xml | .jnlp, application/x-java, jnlp-file, application/jnlp | Java web start. |
com.apple.applescript.text | public.script | .applescript | AppleScript text. |
com.apple.applescript.script | public.data | .scpt, ‘osas’ | AppleScript. |
public.object-code | public.data, public.executable | .o | Object code. |
com.apple.mach-o-binary | public.data, public.executable | Mach-O binary. | |
com.apple.pef-binary | public.data, public.executable | PEF (CFM-based) binary | |
com.microsoft.windows-executable | public.data, public.executable | .exe, application/x-msdownload | Microsoft Windows application. |
com.microsoft.windows-dynamic-link-library | public.data, public.executable | .dll, application/x-msdownload | Microsoft dynamic link library. |
com.sun.java-class | public.data, public.executable | .class | Java class. |
com.sun.java-archive | public.data, public.executable, public.archive | .jar , application/java-archive | Java archive. |
com.apple.quartz-composer-composition | public.data, public.executable | .qtz , application/x-quartzcomposer | Quartz Composer composition. |
org.gnu.gnu-tar-archive | public.data, public.archive | .gtar, application/x-gtar | GNU archive. |
public.tar-archive | org.gnu.gnu-tar-archive | .tar, application/x-tar, application/tar | Tar archive. |
org.gnu.gnu-zip-archive | public.data, public.archive | .gz, .gzip, application/x-gzip, application/gzip | Gzip archive. |
org.gnu.gnu-zip-tar-archive | org.gnu.gnu-zip-archve | .tgz | Gzip tar archive. |
com.apple.binhex-archive | public.data, public.archive | .hqx, application/mac-binhex40, application/mac-binhex, application/binhex | BinHex archive. |
com.apple.macbinary-archive | public.data, public.archive | .bin, application/x-macbinary, application/macbinary | MacBinary archive. |
public.url (kUTTypeURL) | public.data | ‘url ‘ | Uniform Resource Locator. |
public.file-url (kUTTypeFileURL) | public.url | ‘furl’ | File URL. |
public.url-name | - | ‘urln’ | URL name. |
public.vcard (kUTTypeVCard) | public.data, public.content | ‘vCrd’, .vcf, .vcard, text/directory, text/vcard, text/x-vcard, Apple Vcard, pasteboard type | vCard (electronic business card). |
public.image (kUTTypeImage) | public.data, public.content | Base type for images. | |
public.fax | public.image | Base type for fax images. | |
public.jpeg (kUTTypeJPEG) | public.image | ‘JPEG’, .jpg, .jpeg, image/jpeg | JPEG image. |
public.jpeg-2000 (kUTTypeJPEG2000) | public.image | ‘jp2 ‘, .jp2, image/jp2 | JPEG 2000 image. |
public.tiff (kUTTypeTIFF) | public.image | ‘TIFF’, .tif, .tiff, image/tiff, NeXT TIFF v4.0 pasteboard type, NSTIFFPBoardType | TIFF image. |
public.camera-raw-image | public.image | Base type for digital camera raw image formats. | |
com.apple.pict (kUTTypePICT) | public.image | ‘PICT’, .pic, .pct, .pict, image/pict, image/x-pict, image/x-macpict | PICT image |
com.apple.macpaint-image | public.image | .pntg, ‘PNTG’ | MacPaint image. |
public.png (kUTTypePNG) | public.image | ‘PNGf’, .png, image/png | PNG image |
public.xbitmap-image | public.image | .xbm, image/x-quicktime | X bitmap image. |
com.apple.quicktime-image (kUTTypeQuickTimeImage) | public.image | ‘qtif’, .qif, .qtif, image/x-quicktime | QuickTime image. |
com.apple.icns (kUTTypeAppleICNS) | public.image | ‘icns’, .icns | Mac OS icon image. |
com.apple.txn.text-multimedia-data (kUTTypeTXNTextAndMultimediaData) | public.data, public.composite-content | ‘txtn’ | MLTE (Textension) format for mixed text and multimedia data. |
public.audiovisual-content (kUTTypeAudioVisualContent) | public.data, public.content | Base type for any audiovisual content. | |
public.movie | public.audiovisual-content | Base type for movies (video with optional audio or other tracks). | |
public.video (kUTTypeVideo) | public.movie | Base type for video (no audio). | |
com.apple.quicktime-movie (kUTTypeQuickTimeMovie) | public.movie | ‘MooV’, .mov, .qt, video/quicktime | QuickTime movie. |
public.avi | public.movie | .avi, .vfw, ‘Vfw ‘, video/avi, video/msvideo, video/x-msvideo | AVI movie. |
public.mpeg (kUTTypeMPEG) | public.movie | ‘MPG ‘, ‘MPEG’, .mpg, .mpeg, .m75, .m15, video/mpg, video/mpeg, video/x-mpg, video/x-mpeg | MPEG-1 or MPEG-2 content. |
public.mpeg-4 (kUTTypeMPEG4) | public.movie | ‘mpg4’, .mp4, video/mp4, video/mp4v | MPEG-4 content. |
public.3gpp | public.movie | .3gp, .3gpp, ‘3gpp’, video/3gpp, audio/3gpp | 3GPP movie. |
public.3gpp2 | public.movie | .3g2 , .3gp2 , ‘3gp2’, video/3gpp2, audio/3gpp2 | 3GPP2 movie. |
public.audio (kUTTypeAudio) | public.audiovisual-content | Base type for audio (no video). | |
public.mp3 (kUTTypeMP3) | public.audio | ‘MPG3’, ‘mpg3’, ‘Mp3 ‘, ‘MP3 ‘, ‘mp3!’, ‘MP3!’, .mp3, audio/mpeg, audio/mpeg3, audio/mpg, audio/mp3, audio/x-mpeg, audio/x-mpeg3, audio/x-mpg, audio/x-mp3 | MPEG-3 audio. |
public.mpeg-4-audio (kUTTypeMPEG4Audio) | public.audio, public.mpeg4 | ‘M4A ‘, .m4a | MPEG-4 audio. |
com.apple.protected-mpeg-4-audio (kUTTypeAppleProtectedMPEG4Audio) | public.audio | ‘M4P ‘, ‘M4B ‘, .m4p, .m4b | Protected MPEG-4 audio. (iTunes music store format) |
public.ulaw-audio | public.audio | .au, .ulw, .snd, ‘ULAW’, audio/basic, audio/au, audio/snd | μLaw audio. |
public.aifc-audio | public.audio | .aifc, .aiff, .aif, ‘AIFC’, audio/aiff, audio/x-aiff | AIFF-C audio. |
public.aiff-audio | public.audio | .aiff, .aif, ‘AIFF’, audio/aiff, audio/x-aiff | AIFF audio. |
com.apple.coreaudio-format | public.audio | .caf, ‘caff’ | Core Audio format. |
public.directory (kUTTypeDirectory) | public.item | Base type for directories. | |
public.folder (kUTTypeFolder) | public.directory | A plain folder (that is, not a package). | |
public.volume (kUTTypeVolume) | public.folder | A volume. | |
com.apple.package (kUTTypePackage) | public.directory | A package (that is, a directory presented to the user as a file). | |
com.apple.bundle (kUTTypeBundle) | public.directory | ‘BNDL’, .bundle | A directory with an internal structure specified by Core Foundation Bundle Services. . |
public.executable | - | Base type for executable data. | |
com.apple.application (kUTTypeApplication) | public.executable | Base type for applications and other launchable files. | |
com.apple.application-bundle (kUTTypeApplicationBundle) | com.apple.package, com.apple.bundle, com.apple.application | ‘APPL’, .app | Application bundle. |
com.apple.application-file (kUTTypeApplicationFile) | com.apple.application public.data | ‘APPL’ | Application file. |
com.apple.deprecated-application-file | com.apple.application-file | ‘APPC’, ‘APPD’, ‘APPE’, ‘appe’, ‘CDEV’, ‘cdev’, ‘dfil’ | Deprecated application file. |
com.apple.plugin | com.apple.bundle, com.apple.package | .plugin | Plugin. |
com.apple.metadata-importer | com.apple.plugin | .mdimporter | Spotlight importer plugin. |
com.apple.dashboard-widget | com.apple.bundle, com.apple.package | .wdgt | Dashboard widget. |
public.cpio-archive | public.data | .cpio | CPIO archive. |
com.pkware.zip-archive | public.data, public.archive | .zip, application/zip | Zip archive. |
com.apple.webarchive (kUTTypeWebArchive) | public.data, public.composite-content | Web Kit webarchive format. | |
com.apple.framework (kUTTypeFramework) | com.apple.bundle | ‘FMWK’, .framework | Framework. |
com.apple.rtfd (kUTTypeRTFD) | com.apple.package, public.composite-content | .rtfd | Rich Text Format Directory. That is, Rich Text with content embedding, on-disk format. |
com.apple.flat-rtfd (kUTTypeFlatRTFD) | public.data, public.composite-content | NeXT RTFD pasteboard type, NSRTFDPBoardType | Rich Text with content embedding, pasteboard format. |
com.apple.resolvable (kUTTypeResolvable) | - | Items that the Alias Manager can resolve. | |
public.symlink (kUTTypeSymLink) | public.item, com.apple.resolvable | UNIX-style symlink. | |
com.apple.mount-point (kUTTypeMountPoint) | public.item, com.apple.resolvable | A volume mount point | |
com.apple.alias-record (kUTTypeAliasRecord) | public.data, com.apple.resolvable | ‘alis’ | Alias record. |
com.apple.alias-file (kUTTypeAliasFile) | public.data, com.apple.resolvable | Alias file. | |
public.font | public.data | Base type for fonts. | |
public.truetype-font | public.font | TrueType font. | |
com.adobe.postscript-font | public.font | PostScript font. | |
com.apple.truetype-datafork-suitcase-font | public.truetype-font | .dfont, ‘dfon’ | TrueType data fork font. |
public.opentype-font | public.font | .otf, ‘OTTO’ | PostScript OpenType font. |
public.truetype-ttf-font | public.truetype-font | .ttf | TrueType OpenType font. |
public.truetype-collection-font | public.font | .ttc, ‘ttcf’ | TrueType collection font. |
com.apple.font-suitcase | public.font | .suit, ‘FFIL’, ‘ffil’, ‘sfnt’, ‘tfil’ | Font suitcase. |
com.adobe.postscript-lwfn-font | com.adobe.postscript-font | ‘LWFN’ | PostScript Type 1 outline font. |
com.adobe.postscript-pfb-font | com.adobe.postscript-font | .pfb | PostScriptType1 outline font. |
com.adobe.postscript.pfa-font | com.adobe.postscript-font | .pfa | PostScriptType 1 outline font. |
com.apple.colorsync-profile | public.data | .icc, .icm, .pf , ‘prof’ | ColorSync profile. |
Identifier | Conforms to | Comments | |
public.filename-extension | public.case-insensitive-text | Filename extension. | |
public.mime-type | public.case-insensitive-text | MIME type. | |
com.apple.ostype | public.text | Four-character code (type OSType). | |
com.apple.nspboard-type | public.text | NSPasteboard type. | |
Identifier (Constant) | Conforms to | Tags | Comments |
com.adobe.pdf (kUTTypePDF) | public.data, public.composite-content | ‘PDF ‘, .pdf, application/pdf, Apple PDF pasteboard type | PDF data. |
com.adobe.postscript | public.data | .ps, application/postscript | PostScript data. |
com.adobe.encapsulated-postscript | com.adobe.postscript | .eps, NeXT Encapsulated PostScript v1.2 pasteboard type | Encapsulated PostScript. |
com.adobe.photoshop-image | public.image | .psd, ‘8BPS, ‘ image/x-photoshop, image/photoshop, image/psd, application/photoshop | Adobe Photoshop document. |
com.adobe.illustrator.ai-image | public.image | .ai | Adobe Illustrator document. |
com.compuserve.gif (kUTTypeGIF) | public.image | ‘GIFf’, .gif, image/gif | GIF image. |
com.microsoft.bmp (kUTTypeBMP) | public.image | ‘BMP ‘, ‘BMPf’, .bmp | Windows bitmap image. |
com.microsoft.ico (kUTTypeICO) | public.image | .ico | Windows icon image. |
com.microsoft.word.doc | public.data | ‘W8BN’, .doc, application/msword | Microsoft Word data. |
com.microsoft.excel.xls | public.data | ‘XLS8’, .xls, application/vnd.ms-excel | Microsoft Excel data. |
com.microsoft.powerpoint.ppt | public.data, public.presentation | .ppt, ‘SLD8’, application/mspowerpoint | Microsoft PowerPoint presentation. |
com.microsoft.waveform-audio | public.audio | .wav, .wave, ‘.WAV’, ‘WAVE’, audio/wav, audio/wave | Waveform audio. |
com.microsoft.advanced-systems-format | public.audiovisual-content | .asf , ‘ASF_’, video/x-ms-asf | Microsoft Advanced Systems format. |
com.microsoft.windows-media-wm | public.movie, com.microsoft.advanced-systems-format | .wm, video/x-ms-wm | Windows media. |
com.microsoft.windows-media-wmv | public.movie, com.microsoft.advanced-systems-format | .wmv, video/x-ms-wmv | Windows media. |
com.microsoft.windows-media-wmp | public.movie, com.microsoft.advanced-systems-format | .wmp, video/x-ms-wmp | Windows media. |
com.microsoft.windows-media-wma | public.audio, com.microsoft.advanced-systems-format | .wma, video/x-ms-wma | Windows media audio. |
com.microsoft.advanced-stream-redirector | public.xml, public.audiovisual-content | .asx, ‘ASX_’, video/x-ms-asx | Advanced Stream Redirector. |
com.microsoft.windows-media-wmx | public.audio, com.microsoft.advanced-stream-redirector | .wmx , video-x-ms-wmx | Windows media. |
com.microsoft.windows-media-wvx | public.audio, com.microsoft.advanced-stream-redirector | .wvx, video-x-ms-wvx | Windows media. |
com.microsoft.windows-media-wax | public.audio, com.microsoft.advanced-stream-redirector | .wax, video-x-ms-wax | Windows media audio. |
com.apple.keynote.key | com.apple.package, public.presentation | .key | Apple Keynote document. |
com.apple.keynote.kth | com.apple.package, public.composite-content | .kth | Apple Keynote theme. |
com.truevision.tga-image | public.image | .tga, ‘TPIC’, image/targa, image/tga, application/tga | TGA image. |
com.sgi.sgi-image | public.image | .sgi, ‘.SGI’, image/sgi | Silicon Graphics image. |
com.ilm.openexr-image | public.image | .exr | OpenEXR image. |
com.kodak.flashpix.image | public.image | .fpx, image/fpx, application/vnd.fpx | FlashPix image. |
com.j2.jfx-fax | public.fax | .jfx | J2 fax. |
com.js.efx-fax | public.fax | .efx, image/efax | eFax fax. |
com.digidesign.sd2-audio | public.audio | .sd2, ‘Sd2f’ | Digidesign Sound Designer II audio. |
com.real.realmedia | public.movie | .rm, ‘PNRM’, application/vnd.rn-realmedia | RealMedia. |
com.real.realaudio | public.audio | .ram, .ra , ‘PNRA’, audio/vnd.rn-realaudio, audio/x-pn-realaudio | RealMedia audio. |
com.real.smil | public.xml | .smil, application/smil | Real synchronized multimedia integration language. |
com.allume.stuffit-archive | public.data, public.archive | .sit, .sitx, application/x-stuffit, application/x-sit , application/stuffit | Stuffit archive. |
总结
希望这篇文章帮助哪些需要区分类型的兄弟们.