Update 6/3: Updated thanks to some helpful comments/suggestions from Chris Wagner, @Craimasjien, @Alarcon, @doTheTricks, and @rbnVnznz. Thanks all!
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.
I hope this is helpful! Stay tuned for lots more Swift goodness on this site – especially after the NDA lifts :]
Swift Cheat Sheet and Quick Reference is a post from: Ray Wenderlich
The post Swift Cheat Sheet and Quick Reference appeared first on Ray Wenderlich.