Swift Cheat Sheet and Quick Reference

Ray Wenderlich
Swift Cheat Sheet and Quick Reference Now Available!

Swift Cheat Sheet and Quick Reference Now Available!

Update 9/15/15: Updated for Swift 2 and Xcode 7.

I am up late tonight reading Apple’s Swift book and playing around with it a bit – there’s too much exciting stuff to sleep! :]

There’s a lot of new syntax in Swift, so I thought it might be useful if if I put together a cheat sheet / quick reference on the language.

Without further ado, here is the download link:

It summarizes the most important Swift syntax on one page to get you up to speed quickly, including:

  • Class Implementation
  • Methods
  • Creating/Using an Object
  • Declaring Variables
  • Control Flow
  • String Quick Examples
  • Array Quick Examples
  • Dictionary Quick Examples

I’ve made sure to use only materials available to the public in the creation of this.

This is just a quick first draft – let me know if you have any comments/suggestions on how to improve this. I’ll be updating this periodically as I learn more about Swift and hear your comments.

Want to learn more? Check out out our new Swift books – covering everything you need to know about Swift, iOS 9, and more!

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.

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!

Come check out Alt U

Our Books

Our Team

Video Team

... 9 total!

Swift Team

... 15 total!

iOS Team

... 47 total!

Android Team

... 15 total!

OS X Team

... 12 total!

Apple Game Frameworks Team

... 15 total!

Unity Team

... 11 total!

Articles Team

... 8 total!