How can I add OS X “tags” to files programmatically?

前端 未结 9 1480
轻奢々
轻奢々 2021-01-29 22:23

Since Mavericks, OS X has had the ability to tag & colour files in Finder.

\"finder

Is there any

9条回答
  •  闹比i
    闹比i (楼主)
    2021-01-29 22:38

    In Apple's What's New in OS X it states that NSURL handles tags, and the Common File System Resource_Keys gives the required key as NSURLTagNamesKey and states its value is just an array of strings.

提交回复
热议问题