Templates for Cocoa-Python development with Xcode 4
Python
Latest commit 3ca1d8f Apr 28, 2014 @gregneagle Merge pull request #6 from MagerValp/master
Fix PEP8 warnings and add note about Xcode 5.1.
Failed to load latest commit information.
File Templates/Cocoa-Python Fix PEP8 complaint about block comments. Apr 7, 2014
Project Templates/Cocoa-Python
README.md

README.md

Xcode 4 Cocoa-Python Templates

This is a set of File templates and Project templates for use with Xcode 4+. These have been tested with Xcode 4.3 on Lion and Xcode 5.1 on Mavericks.

Using the Xcode 3 templates here: http://svn.red-bean.com/pyobjc/trunk/pyobjc/pyobjc-xcode/ as a starting point, and also using the existing Xcode 4 templates as a reference, I ported the Xcode 3 templates to the Xcode 4 format.

They seem to work, though I've only used the Cocoa-Python Application for actual development so far.

How to use these

Either clone this repo or download the zip and expand it. Copy the File Templates and Project Templates folders to the following path in your home directory, creating any missing intermediate directories if needed:

~/Library/Developer/Xcode/Templates/

Launch Xcode 4. The File templates should be available from the template browser available when you choose File->New->File... -- they'll be listed under Mac OS X/Cocoa-Python.

The Project templates should be available when creating a new project, also under Mac OS X/Cocoa-Python.

Additional references

http://blog.boreal-kiss.net/2011/03/11/a-minimal-project-template-for-xcode-4/

http://red-glasses.com/index.php/tutorials/making-custom-templates-for-xcode-4-march-2011/