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 Swift Basics An Introduction to Swift Programming What Is Swift?

boris said
boris said
3,607 Points

Switching?

I was on building a vending machine app with swift 2 when this course out. Should I switch track, or stay on Swift 2? Also, if I do switch what course in Swift 3 should I switch too?

2 Answers

Floris De Feyter
Floris De Feyter
17,174 Points

I'm also following the Swift 2.0 track and I'm not going to switch to the Swift 3.0 track. At least, not yet. Switching "back to basics" would be a waste of your precious time. Once the more advanced courses which you didn't take yet start coming out, it'll be worth switching. What you learn in the Swift 2.0 course is still very relevant and applicable.

The most obvious differences between Swift 2 and 3 are changes in the names of the Cocoa API. But if you have the latest version of Xcode, it will tell you when a name you are using has changed and Xcode will provide a nice "quick fix" to fix it for you. Apart from that, you can easily convert Swift 2 to Swift 3 by going to Edit > Convert > To Current Swift Syntax…

boris said
boris said
3,607 Points

Okay thanks for your help, I will be staying with the Swift 2 Course.