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 (retired) Variables and Constants Xcode

Mike Childs
Mike Childs
1,557 Points

Does Xcode 5 work with Swift?

Your video shows the download for Xcode 5 from the Mac App Store but I thought Xcode 6 was required for Swift and Playgrounds.

3 Answers

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

Eventually Xcode 6 will be available in the Mac App store unfortunately when shooting this video it wasn't available. However, you can download it from here: https://developer.apple.com/xcode/downloads/

Jordan Pike
Jordan Pike
5,699 Points

Ahh, this makes sense now. I guess I'll have to wait to code through the videos as I don't yet have a developer account to download the beta. I'm still excited about this course though.

Amit Bijlani
Amit Bijlani
Treehouse Guest Teacher

You don't need a developer account. It's available to download for free.

Jordan Pike
Jordan Pike
5,699 Points

Thank you Amit!

No, Xcode 6 is the native environment for swift. Xcode 5 cannot compile swift code. Just download the beta from the developer site or get it on the App Store - it should be out.

Xcode 6 is required for Swift code. You can find more information here: https://developer.apple.com/xcode/ On the other hand TreeHouse has released today new Swift courses and training. Todays is iOS 8 software release and official Swift code as well.

Hope you find this useful.