Skip to content
This repository has been archived by the owner on Jun 14, 2019. It is now read-only.

Minimal Xcode Templates for Open Source Developers

License

Notifications You must be signed in to change notification settings

mattt/Xcode-Licensed-Templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

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. As for Xcode 4.x & 5.x directory is: ~/Library/Developer/Xcode/Templates/File\ Templates As for Xcode 6.x & newer directory is: /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File\ Templates
  • 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.

About

Minimal Xcode Templates for Open Source Developers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •