UPDATED: The Swift 3 Cheatsheet
Why learn by heart if you can cheat? Grab this cheatsheet for Swift 3, including common syntax for primitives, basic classes, closures, error handling and more!
Swift 3 has recently been released and it’s the first major open-source iteration of the popular programming language for the Apple ecosystem (iOS, tvOS, watchOS and macOS).
The language update introduced a few big changes, making this version of Swift the best yet. Including:
- Omit needless words. No more
stringByReplacingOccurrencesOfString ..., just
- Consistent use of English grammar for methods that return vs. change in-place.
- No more
NSprefix for basic classes – bye-bye NeXTSTEP!
- Consistent lowerCamelCase for properties, methods and structs.
- Together with the first point – all function arguments now have labels!
I seriously think v. 3 is the first real gamechanger since Swift’s initial launch. Read up on all changes, here.
Grab the App Toolbox 2017 to learn how to save time building your app, and how to 10x your app installs in the App Store. With the toolbox, you’ll immediately know how to move forward to build better, more profitable apps.
In This Cheatsheet…
Compared to the previous version of the cheatsheet, a lot has changed. It’s expanded, made clearer, upgraded and updated. Dare I say it’s the most Swifty edition yet?
Including syntax examples for:
- Control flow
- Guard & Defer
- Error Handling
Pin the cheatsheet to your desktop – don’t print it out – and use it for your next Swift project. Learning how to Swift? Use the cheatsheet to improve your expertise and retention of basic Swift concepts, and practice your skill.
Got an idea for the next version of the cheatsheet? Let me know in the comments!
Join 11.000+ app developers and marketers
- Get a weekly curated list of app development tools, articles and resources in your inbox
- 10x your app installs with relevant App Store Optimization and app marketing strategies
- BONUS: Grab a free copy of the App Toolbox 2017 to supercharge your next app project
Most Popular Content
Grab the App Toolbox 2017 to learn how to save time building your app,
and how to 10x your app installs in the App Store. With the toolbox, you'll immediately know how to move forward to build better, more profitable apps.
Comments & Thoughts
On The Blog
3 Important Traits Every Aspiring App Maker Should Have, and 3 Ways of Getting Them
Ever wondered why successful people are successful? Why is it that they seem to attract success and not chase after it? And how does apply that to the App Making business? Learn the 3 traits successful people have and if you're new to those traits, learn how to develop them.
Question: "Which features overcomplicate Swift? What should be removed?"
Another great Quora question: what should be removed from Swift? Well... I can't think of anything! What's there not to like? Read on to learn some of Swifts happy quirks.