Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

Xcode-Snippets/Objective-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b76b2bd · Feb 15, 2014

History

63 Commits
Nov 1, 2011
Nov 1, 2011
Oct 18, 2013
Sep 5, 2013
Nov 1, 2011
Sep 5, 2013
Sep 27, 2013
Nov 15, 2013
Nov 21, 2013
Nov 13, 2013
Jan 26, 2013
Nov 1, 2011
Nov 15, 2013
Feb 14, 2014
Nov 15, 2013
Nov 1, 2011
Oct 25, 2013
Apr 17, 2013
Sep 5, 2013
Jan 26, 2013
Aug 21, 2013
Jan 26, 2013
Sep 5, 2013
Sep 5, 2013
Apr 25, 2013
Oct 10, 2013
Oct 10, 2013
Oct 10, 2013
Oct 10, 2013
Oct 10, 2013

Repository files navigation

Xcode Snippets

Just a few code snippets I have in my Xcode arsenal. In dotfiles fashion, I thought it'd be cool to put these out in the ether.

Using Snippets

In Xcode 4, open a workspace and toggle the right sidebar to be visible. On the bottom, there is a panel with four icons in the header. Click on the { } icon to open the Code Snippets Library.

Now copy-paste the code from one of these snippets, highlight the code block you just pasted and drag it to the Code Snippet panel. Make sure to match the suggested platform, language, and completion scope. The completion shortcut corresponds to the filename of the code snippet.