Skip to content

Code snippets

mikeseghers edited this page Sep 4, 2014 · 1 revision

We have provided some snippets to easily create factory class methods.

These can be found here: xCode Snippets

You can install these by downloading these snippets and placing them in the following folder:

~/Library/Developer/Xcode/UserData/CodeSnippets/

If the folder doesn't exist you should create it. Restart xCode and you should be ready to start using the snippets.

In your factory class, start typing 'create' and all of the snippets for create singletons, prototypes, and aliases should be at your finger tips.

Clone this wiki locally