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 trialGerardo Gomez
1,845 PointsSo I started this course and think I should stop because of Swift 3!?
I started to learn Swift and I think it is great! The issue is, I was looking at the documentation for Swift 3 and it is clear (they themselves say it) that Swift 3 has major changes to the the code! Whats the point of doing this course if Swift 3 is already released and massively different!? I don't think it would be wise to learn this only to find that it is no longer practical to code in Swift 2 anymore. Unless I research every line of code in this lesson and reference it against the "new" style of coding according to Swift 3? And then apply the Swift 3 way of doing things.
I don't know, I feel stuck. Any idea when this lesson will be updated or if a Swift 3 course is coming soon?
1 Answer
Ben Shockley
6,094 PointsI've been using Swift 3 for a while now in this course, several months at least. It's really not that big of a deal, most of the major changes are with the Apple APIs in Foundation and the way Swift interacts with them. Most of the time when you put something into Xcode the old way, the compiler will tell you that it's been deprecated, and will give you the new API or code to use instead. I've only really run into a couple of snags here and there that have been easily fixed either referencing the Swift 3 change docs, or from googling.
The core of the programming fundamentals, and Swift itself is still very much the same and relevant and can be applied any version of Swift.
I would say do it, I haven't been held up in any way so far.
The biggest issues I've had is when it comes to using any starter files that they provide in the course. But Xcode will automatically migrate them over to Swift 3, with only a handful of issues that you'd need to resolve manually. But that only takes a few minutes.
-- Ben
Feargus Brickley
2,155 PointsJust to add to Ben's comment - those manual changes you'll make will get you to look at the code and help memorise the differences too!
Andreas Frost Nordstrøm-Hansen
2,443 PointsAndreas Frost Nordstrøm-Hansen
2,443 PointsIt can't hurt to get the feel of it. Having some knowledge prepared for when a Swift 3 course comes out. Usually you can transfer alot of base knowledge onto the next version. And then learn the differences after.