Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Learning Swift 2.0 but Swift 3.0 has been released.

Hi

Im in the middle of learning Swift 2.0 but Swift 3.0 has just been released. Would you advise for me to start Swift 3.0 or finished the whole module of Swift 2.0?

Any advise would be much appreciated.

2 Answers

With most any language, if an update is released to it while you are in the midst of learning it, you should continue down the path you are already on. While some changes that exist in an update to the language may be 'breaking', it is a good idea to continue learning the base foundation of how the language works. Also, it is good to know the differences in language versions as you may come across it in forums, online code, code in a workplace or 'in the wilds'.

Swift 3 has some pretty notable changes, but there isn't really anything you will learn from the Swift 2 courses that won't be useful when learning Swift 3. Each iteration of a language generally builds on top of its predecessors.

FYI: There is no reason you cannot watch the Swift 3 courses in between watching a Swift 2 course, as you will notice, it will most likely be the same course with some minor syntax changes here and there. If you are feeling adventurous and learn a little about Swift 3 on the side, try to implement a Swift 2 challenge and convert it to also work in Swift 3!

Greg Kitchin
Greg Kitchin
31,522 Points

I've just done the first Swift 3 course. Would it be worth me starting the app development track for Swift 2 just now, or would I be better off waiting till one has been released for Swift 3?

I would recommend learning the Swift 2 app development track. Treehouse allows you to switch tracks at any given time, therefore if a full Track becomes available for Swift 3, you can switch. Learning Swift 2 would be beneficial as well if you plan to look at online forums and potentially seeing code someone else has written that may be in Swift 2. Most differences should be obvious and Xcode will help in notifying it as an error, but being able to easily read Swift 2 code without specifically being told it is Swift 2 and not Swift 3 can be useful in staying away from headaches later down the line.