What are “Imported UTIs” in Xcode 4?

爱⌒轻易说出口 提交于 2019-11-29 02:33:13

问题


In Xcode 4 there are lists for "document types", "imported UTIs" and "exported UTIs" in project info. I know what document types are, but what are the imported/exported UTIs for? Do I need to declare every document type as a imported/exported UTI as well? I use UTIs.

Thanks.


回答1:


Your application declares the UTIs it uses as imported or exported UTIs.

Exported UTIs are the UTIs for which your application is authoritative. That is, document types which you own and define.

Imported UTIs are document types which you know about but for which some other application may be authoritative.

The difference in practice is that if an application declares an imported UTI, and some other application declares the same UTI but as an exported UTI, the OS will use the exported UTI data over the imported UTI data.

More info



来源:https://stackoverflow.com/questions/6661714/what-are-imported-utis-in-xcode-4

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!