【问题标题】:List/Search all existing UTIs (Uniform Type Identifiers)列出/搜索所有现有的 UTI(统一类型标识符)
【发布时间】:2012-09-23 16:48:35
【问题描述】:

是否可以在系统上找到所有现有Uniform Type Identifiers 的列表?

【问题讨论】:

    标签: objective-c macos cocoa uti


    【解决方案1】:

    怎么样

     /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump
    

    更好:所有通用类型标识符的图表 - Kevin Ballard's Blog

    【讨论】:

    • 只是尿路感染:/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep '[[:space:]]uti:' | awk '{ print $2 }' | sort | uniq
    【解决方案2】:

    您可以使用 UTIsExplorer https://github.com/nst/UTIsExplorer 构建自己的图表

    该项目包括我机器上所有 UTI 的图表:http://seriot.ch/resources/utis_graph/utis_graph.pdf

    【讨论】:

      【解决方案3】:

      【讨论】:

      • 这个列表好像少了很多。例如,CSV:public.comma-separated-values-text
      猜你喜欢
      • 2011-04-23
      • 2012-09-26
      • 2015-12-02
      • 2018-08-21
      • 2010-09-27
      • 2017-04-24
      • 2021-02-28
      • 2016-03-12
      • 1970-01-01
      相关资源
      最近更新 更多