phranck / Xcode-Coordinator-Template

An Xcode File Template that creates an Objective-C Coordinator class.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is this?

An Xcode File Template that creates an Objective-C Coordinator class. It is for both iOS and OS X. Inspired by a really good reading by Soroush Khanlou (Github, Twitter) about Coordinators Redux I created this Xcode file template.

Installation

Just run this shell command in your terminal:

$ curl -SL https://raw.githubusercontent.com/phranck/Xcode-Coordinator-Template/master/install.sh | sh

The Coordinator template will be installed under ~/Library/Developer/Xcode/Templates/File Templates/Source/.

Regarding this last path component Source/ you'll find it in Xcode under the related category Source for both iOS and OS X.

Coordinator Xcode

Note

In order to let the coordinator class work properly on Mac OS X, you need a navigation controller. Mac OS X doesn't support such a class. So, you might have a look to another open source software project of mine on Github: CCNNavigationController.

Xcode Template Ressources

  • There is a very good article which describes how to create your own Xcode file templates with lots of insights about the quite undocumented keys and variables used in the TemplateInfo.plist.

Contribution

The code is provided as-is, and it is far off being complete or free of bugs. If you like this component feel free to support it. Make changes related to your needs, extend it or just use it in your own project. Pull-Requests and Feedbacks are very welcome. Just contact me at [phranck@cocoanaut.com](mailto:phranck@cocoanaut.com?Subject=[Xcode-Coordinator-Template] Your component on Github) or send me a ping on Twitter @TheCocoaNaut.

License

This software is published under the MIT License.

About

An Xcode File Template that creates an Objective-C Coordinator class.

License:Other


Languages

Language:Shell 100.0%