Swift is a relatively simple language, switching from Objective-C to Swift will not take long. After you take a look at the syntax you will be able to write code in a flash. You might get confused in the beginning, with optionals and type inference but soon you will start feeling the power they give you.
We are really excited to see the massive number of people interested in learning Swift – and the community is growing. Already there are over 10.000 Swift repositories on github!
We’ve made a list of resources and tutorials that will get you up to speed with Swift:
- This tour gives you enough information to start writing code in Swift by showing you how to accomplish a variety of programming tasks. For the best experience read it in playground format.
- Watch the Introduction to Swift video from Apple WWDC 2014. There you will see a lot of examples of Swift code.
- The Advanced Swift video from WWDC should make you fall in love with swift if you’ve been developing apps using Objective-C
- Swift is designed differently than Objective-C you should read and understand the differences from Objective-C
- Ray Wenderlich made a useful language cheat sheet and a tutorial to get you started with Swift.
- You can look over the language basics from Apple’s reference.
- You will need to understand optionals, here are some articles you can read on this topic:
- Read about Type Safety and Type Inference
- Another interesting feature that Swift brings is Generics, they are simillar to C++ templates but way simpler to use. Andrew Hulsizer from Swift Yeti wrote a comprehensive article about Generics in Swift.
- In Learn Swift From Objective-C by Chris Ching you can see code examples in Objective-C and Swift for comparison:
- Checkout more tutorials we selected for you
1 comment for “Swift resources for Objective-C developers”