This is a collection of useful helper functions I am developing to make writing Xcode plugins easier. They provide access to various parts of Xcode internals by calling into Xcode's private APIs.
An example of how to use the library is included in the Example directory. This shows how to make a simple plugin which toggles Xcode's syntax highlighting on or off.
To run the example project, clone the repo, and run
pod install from the Example directory. Open the resulting
xcworkspace in Xcode and run the Example target. This should install the example plugin in the IDE. After
restarting Xcode, you should get a "Toggle Highlighting" option in the Xcode Edit menu.
DTXcodeUtils is available through CocoaPods. To install it, simply add the following line to your Podfile:
DTXcodeUtils is available under the Creative Commons Zero license. See the LICENSE file for more info.