Update 10/13/13: Fully updated for Xcode 5 and current best practices.
Update 9/28/12: Fully updated for ARC and new features in Xcode 4.4+ like auto-synthesis and literal syntax.
We periodically teach a workshop called iOS 101, which is a 1-2 day crash course on beginning iOS programming.
In the workshop, we like to cover the basics of Objective-C, since those new to iOS programming are usually also new to Objective-C.
In past offerings of iOS 101, a common request was “please make an Objective-C cheat sheet for the workshop!”
Well, your wish is our command – keep reading to download the official raywenderlich.com Objective-C cheatsheet! :]
Show Me The Cheat Sheet!
Without further ado, here is the download link:
Objective-C Cheatsheet and Quick Reference v1.5
It summarizes the most important Objective-C syntax on one page to get you up to speed quickly, including:
- Types and variables
- Creating and using classes
- Defining and implementing methods
- Defining and using properties
- Creating custom initializers
- Handy methods in NSArray/NSString
Feel free to print out a copy or send to a friend who’s learning Objective-C! :]