Your First iOS & SwiftUI App: An App from Scratch

Feb 13 2023 · Swift 5.7, iOS 16, Xcode 14

Part 1: Getting Started with SwiftUI

04. Create an Xcode Project

Episode complete

Play next episode

Next
About this episode

Leave a rating/review

See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 03. Challenge: Make a Programming To-Do List Next episode: 05. SwiftUI Views

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

I said we’re going to build this app from scratch, and the first step to building is to create a project. So, let’s do that together and just take a little look at how to start working with SwiftUI.

Create a New Project

Go ahead and start up Xcode and make sure you’re running Xcode 14 or later. I’m using version 14.2!

ContentView.swift

What this has done is it’s created some starter code for you. Over on the left is the navigator panel. Right now it lists of all the files in the project, so this tab is aptly named the “Project navigator”. There are other navigators up here, but this is the one you’ll use most.

"Hello, SwiftUI!
Hello, Xcode!