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 View Controllers and Views Introduction to View Controllers

Hello, do you have updated content for Xcode 11?

This video is great but does not align with current version. I have figured out some parts through trial and error but need more help.

1 Answer

Johnny Nguyen
Johnny Nguyen
3,875 Points

Swift recently release another ways to work with user interface, that is Swift UI. This course is taught in storyboards, make sure you set user interface to Storyboards instead of SwiftUI when you setting up a new project.

Here is the guidance: https://www.youtube.com/watch?v=ea9fCSXGhSU&list=LLDEXZaJs_3P8Fo1rotitBuQ&index=13&t=0s

If you still have problem with unsupported version of Swift. All you need to do is:

  1. Go to your Xcode Project.
  2. Click FunFacts ( with the blue Xcode Icon)
  3. Go to Build Settings/ Basics-Combined
  4. Find section called: Swift Compiler - Language
  5. Set Swift Language Version to "swift 4"

You will able to work with the apps without any problems. Feel free to ask with any further problems