You know you need to learn Swift so you can stay relevant as an iOS developer, but you’re too busy to waste time wrestling the compiler as you learn the language. You just need to know how to use Swift with Cocoa Touch so you can build apps that talk to REST APIs. Maybe you even tried and ended up throwing in the towel when Swift’s compiler refused to give you a
dequeueReusableCellWithIdentifier:forIndexPath: – something you’ve done in Objective-C a hundred times.
Or maybe you made it a step further and tried to set the
text on your
textLabel – only to have the compiler suggest that you add a
? to make it happy. But why, you wonder? And of course, the compiler can’t answer you – all it can do is YELL at you when you do something wrong.
Optionals were the major confusion I had when I started iOS development. Thanks to your explanation its clarified now.Tharindu Abeydeera
What if you could build a rock-solid client for your backend REST API in Swift?
Imagine being able to quickly write a stable backbone for your app that talks to a REST API and parses JSON. You’d be confident as you develop the rest of your app on top of it, knowing you’re building on a strong foundation.
And doing it in Swift means you can write safer code that performs better than Objective-C. You could write code that’s more stable, less error-prone, and easier for others on your team to understand – or for you to understand when you come back to it in three months.
Start building your foundation in Swift with the 5-Part Guide to Getting Started with Swift
You can learn how to do all of this – without fighting Xcode and Swift’s unforgiving compiler – with the 5-Part Guide to Getting Started with Swift. In it, you’ll learn:
- How to safely cast objects from one type to another
- Why understanding optionals in Swift is essential as you work with Cocoa Touch
- How to parse JSON with Swift 4
- How to build a REST API client without falling into the Massive View Controller trap
- How to write unit tests to uncover problems early
And you’ll be well on your way to mastering Swift. Over 1,800 iOS developers have already learned how to develop apps in Swift with the 5-Part Guide. Ready to get yours?
The Guide comes in five parts over ten days so you have time to read and internalize each lesson.