Skip to content

thurn/DTXcodeUtils

gh-pages
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
Pod
 
 
 
 
 
 
 
 

DTXcodeUtils

Version License Platform

Usage

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.

Installation

DTXcodeUtils is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "DTXcodeUtils"

License

DTXcodeUtils is available under the Creative Commons Zero license. See the LICENSE file for more info.