Objective-C Cheat Sheet and Quick Reference

Ray Wenderlich
Objective-C Cheat Sheet and Quick Reference Now Available!

Objective-C Cheat Sheet and Quick Reference Now Available!

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! :]

Ray Wenderlich

Ray is part of a great team - the raywenderlich.com team, a group of over 100 developers and editors from across the world. He and the rest of the team are passionate both about making apps and teaching others the techniques to make them.

When Ray’s not programming, he’s probably playing video games, role playing games, or board games.

User Comments


[ 1 , 2 ]
  • This is great... I started writing the notes for this but I can now just print it off
  • :( Empty pdf file...... so bad ....
  • Hi,

    thanks for nice work! I would ask why categories are not included? Next more important question: I miss "@interface ClassName ()" in implementation. Implementation can now include interface or...? And what "()" means?

    Thanks for clarification.

    With best regards
  • Hi folks,

    I found answer here: http://stackoverflow.com/questions/1159 ... ementation

    Best regards,
  • Interesting, indeed. Thank You(:
  • Thankyou
  • great reference. Thank U.
  • As salam o Alaikum
    I need your help there is an error when I am compiling my Objective-C Project in xcode
    Apple Mach-O Linker (id) error

    and a bunch of text... :(

    Ld /Users/hawwabano/Library/Developer/Xcode/DerivedData/StudentMangamentSystem-cndqxkespjslmrdpkblcceegkgeg/Build/Products/Debug/StudentMangamentSystem normal x86_64
    cd /Users/hawwabano/Documents/StudentMangamentSystem
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -L/Users/hawwabano/Library/Developer/Xcode/DerivedData/StudentMangamentSystem-cndqxkespjslmrdpkblcceegkgeg/Build/Products/Debug -F/Users/hawwabano/Library/Developer/Xcode/DerivedData/StudentMangamentSystem-cndqxkespjslmrdpkblcceegkgeg/Build/Products/Debug -filelist /Users/hawwabano/Library/Developer/Xcode/DerivedData/StudentMangamentSystem-cndqxkespjslmrdpkblcceegkgeg/Build/Intermediates/StudentMangamentSystem.build/Debug/StudentMangamentSystem.build/Objects-normal/x86_64/StudentMangamentSystem.LinkFileList -mmacosx-version-min=10.7 -fobjc-arc -fobjc-link-runtime -framework Foundation -o /Users/hawwabano/Library/Developer/Xcode/DerivedData/StudentMangamentSystem-cndqxkespjslmrdpkblcceegkgeg/Build/Products/Debug/StudentMangamentSystem

    duplicate symbol _main in:
    ld: 1 duplicate symbol for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    Sarosh Madara
[ 1 , 2 ]

Other Items of Interest

raywenderlich.com Weekly

Sign up to receive the latest tutorials from raywenderlich.com each week, and receive a free epic-length tutorial as a bonus!

Advertise with Us!

Unity Starter Kit!

We are considering writing a new starter kit on making a game in C# with Unity.

Would this be something you'd be interested in, and if so which option would you prefer?

    Loading ... Loading ...

Our Books

Our Team

Video Team

... 12 total!

Swift Team

... 13 total!

iOS Team

... 52 total!

Android Team

... 9 total!

OS X Team

... 11 total!

Sprite Kit Team

... 10 total!

Unity Team

... 9 total!

Articles Team

... 11 total!