开发者

Can I create a custom plist structure definition?

开发者 https://www.devze.com 2022-12-23 03:11 出处:网络
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.

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

精彩评论

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

关注公众号