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