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 Build a Simple iPhone App with Swift 2.0 View Controllers and Views Introduction to View Controllers

Matine Chabrier
seal-mask
.a{fill-rule:evenodd;}techdegree
Matine Chabrier
iOS Development Techdegree Student 1,576 Points

My view in Xcode doesn't look the same

I'm running Xcode 6.2 which may be the problem but I'm not sure.

I have opened the 'FunFacts' project and my folder structures don't look the same at all. I've clicked around a lot and can't seem to find what the video is showing.

Any ideas?

4 Answers

Martin Wildfeuer
PLUS
Martin Wildfeuer
Courses Plus Student 11,071 Points

Hey there! If it is really Xcode 6.2, that might explain a lot. Xcode 6.2 was released in March 2015, supporting a max deployment target of iOS 8.1. That is, it also does not come with Swift.

The current version of Xcode is 8.0 and comes with Swift 3 (it also supports Swift 2.3). So a lot has changed there. At the time of this particular course, the Xcode version was 7.X with Swift 2.X. So ideally, for following these courses you would have Xcode 7 installed. You can get legacy Xcode versions via the Apple Developer Center.

Having said that, you can also install the latest Xcode 8 and develop for Swift 2.3. As of Swift 3 a lot has changed, which might make it hard to follow the course.

Hope that helps :)

Matine Chabrier
seal-mask
.a{fill-rule:evenodd;}techdegree
Matine Chabrier
iOS Development Techdegree Student 1,576 Points

Ah great, thank you for your help! That is probably it, although I was hoping it wasn't as it opens up a can of compatibility worms!

It won't let me upgrade to the latest Xcode without updating my operating system. I'm on Mavericks but worried about upgrading to Sierra since it's so new. And now Yosemite and El Capitan are no longer available on the app store :/

Very frustrating :(

Martin Wildfeuer
PLUS
Martin Wildfeuer
Courses Plus Student 11,071 Points

Up to now, all macOS upgrades worked flawlessly. I have never upgraded across more than one version, though, so I can't tell you much about that.

But, yeah, developing for iOS definitely requires you to be always up to date. Even more so, many times you have to be one step ahead and install beta versions, the only way you can make sure iOS updates don't break your apps in the store.