Is there any documentation for building Xcode 4 plugins?

前端 未结 2 1979
清歌不尽
清歌不尽 2021-01-31 22:02

Recently I\'ve noticed a couple of projects on github that extend the functionality of Xcode 4 via plugins.

Two projects as examples by @olemoritz:

  • MiniXc
2条回答
  •  佛祖请我去吃肉
    2021-01-31 22:52

    There is no formal API or documentation.

    Having said that nearly all community plugins are open sourced, use http://alcatraz.io to discover new plugins, then follow their github source code to learn how people are implementing them.

    Here are some useful resources:

    • Use https://github.com/edwardaux/XcodeExplorer to discover the API hook point you need to be poking around.
    • Look at http://www.blackdogfoundry.com/blog/creating-an-xcode4-plugin/ for a series of posts about building Xcode plugins.
    • Check https://github.com/kattrali/Xcode-Plugin-Template for a Xcode 6+ template for creating new plugins.
    • Look at https://github.com/zats/AdjustFontSize-Xcode-Plugin as a good Xcode 7.1+ starting point
    • See http://www.blackdogfoundry.com/blog/debugging-your-xcode-plugin/ for debugging aid

提交回复
热议问题