我可以创建自定义plist结构定义吗? [英] Can I create a custom plist structure definition?

查看:97
本文介绍了我可以创建自定义plist结构定义吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Xcode中编辑plist文件时,它可以检测plist的类型并显示人类可读的字符串,从而使编辑文件更加容易.例如,Info.plist.

感谢

那么有人知道如何使Xcode或外部属性列表编辑器应用程序识别自定义plist结构定义吗?

我找到了答案.我必须把它放进去

〜/图书馆/应用程序支持/开发人员/共享/Xcode/插件/

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?

解决方案

I found the answer. I have to put it in

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

这篇关于我可以创建自定义plist结构定义吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆