开发者

Can I create a custom plist structure definition?

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 ow开发者_JS百科n 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/


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜