Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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