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

01. Introduction

Episode complete

Play next episode

Next
About this episode

Leave a rating/review

See forum comments
Cinema mode Mark complete Download course materials
Next episode: 02. SwiftUI vs UIKit
Transcript: 01. Introduction

00:02Hey what’s up everybody, this is Catie.

00:04If you’re brand new to iOS and Swift development and wondering where to get started, this is the course for you.

00:09In this course, you’ll learn how to create your very first iOS app…

00:12…a simple but fun iPhone game called Bull’s Eye. We’ll teach you everything you need to know along the way - even if you’re a complete beginner to iOS and Swift development.

00:20This course is meant for folks at all levels of programming experience: it’s good for experienced developers new to iOS and Swift, and it’s good for people who’ve never programmed at all.

00:29You’ll create Bull’s Eye using SwiftUI…

00:31…which is the latest way to create user interfaces for your apps in Swift. SwiftUI is fun, visual, and still pretty new, so by learning it now, you’ll be gaining a serious head start over other developers.

00:41We’ll begin by learning what SwiftUI is, and how it differs from UIKit, which is the traditional way of making user interfaces on iOS. You’ll learn the answer to the burning question you might have - “Should I learn SwiftUI? Should I learn UIKit? Or Should I learn Both?”

00:55Then, we’ll create a brand new project in Xcode so we can build the entire app from scratch. We’ll get started with SwiftUI by building the basic user interface for the app…

01:03…and apply some basic styling with SwiftUI view modifiers.

01:06In the second part of the course, you’ll learn how to make the app interactive, by making a button run an action when tapped to print a message to the console.

01:13You’ll learn about an important concept called SwiftUI state, and use that to make the button display a popup alert instead of a console message.

01:20In the third part of the course, you’ll get some hands-on practice coding with the Swift language. You’ll learn about key Swift concepts like if else statements, variables, constants, type inference, and the Swift standard library.

01:31We’ll even cover useful techniques you’ll frequently use as a developer in the real world, like Unit Testing and Test-Driven Development.

01:38This course is designed to be hands-on, where we’ll build the app together step-by-step. It’s very important that you don’t just watch the exercises, but actually follow along.

01:47Open up Xcode, type along with me, and run the app we build in the Simulator. This will help you understand how the app gets built step by step.

01:54In addition, the course contains several hands-on challenges, where you’ll get to practice what you’ve just learned on your own.

01:59It’s in your best interest to actually pause the video and try solving the challenges - you’ll learn a ton by doing this. There is a big difference between knowing the path and walking the path… And the only way to learn programming is to actually do it.

02:10It is my sincere belief that this course, and those to follow in our learning paths, can turn you from a complete newbie into an accomplished iOS developer, but you do have to put in the time and effort. By making this course, we’ve done our part. The rest is up to you!

02:22One final note - to follow along with this course you should have the latest version of Xcode installed.

02:26You can always download the current version of Xcode from the Mac App Store, if you haven’t already. And don’t worry, it’s a free download!

02:32OK - so let’s blast off into our iOS adventure - starting by designing how our app should work!