Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Minimal Xcode Templates for Open Source Developers
Objective-C
branch: master

Merge pull request #8 from ilucas/NSObject

Added "The Unlicense" to TemplateInfo.plist
latest commit 75e1872747
@mattt authored

README.md

Xcode Licensed Templates

Minimal Xcode Templates for Open Source Developers

Xcode means well with all of its file templates and autocomplete fanciness. But more often than not, it just gets in the way, and generates dozens of lines of code that you'll delete anyway.

These templates start your code off on the right foot: attribution and license in the header, followed by import statements and @interface / @implementation.

Select from your favorite open source licenses to be embedded in the header:

Is your license of choice missing? Feel free to send a pull request!

Installation & Usage

  • Create a new directory in /Library/Developer/Xcode/Templates/Application/File Templates called Licensed.
  • Copy the contents of the "File Templates" directory of this repository into Licensed.
  • Relaunch Xcode and select "File > New File", or use the ⌘N keyboard shortcut.
  • Select the "Licensed" category, then select the "Licensed Objective-C Class" template, and hit "Next".
  • Enter the name of your class and select the desired license.

Step 1

Step 2

Contact

Mattt Thompson

License

Xcode Licensed Templates is available under the MIT license. See the LICENSE file for more info.

Something went wrong with that request. Please try again.