Can I create a custom plist structure definition?

别说谁变了你拦得住时间么 提交于 2019-11-30 17:17:39

问题


When editing plist files in Xcode, it can detect the type of plist and show human-readable strings to make it more easy to edit the file. The Info.plist, for example.

Thanks to This question, I found the (or a) place where it stores that structure definition, as InfoPlistStructDefs.xcodeplugin. If I put my own file in there, however, nothing interesting happens. That is, it doesn't show up in the list of possible property list types.

So does anybody know how to make Xcode or the external property list editor application recognize a custom plist structure definition?


回答1:


I found the answer. I have to put it in

~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/




回答2:


FYI, PlistEdit Pro also provides a custom interface for creating and editing plist structure definitions, if you don't want to have to mess around with XML.



来源:https://stackoverflow.com/questions/2428768/can-i-create-a-custom-plist-structure-definition

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