SwiftUI Basics
Get started with SwiftUI, Apple's declarative framework for building user interfaces across all Apple platforms.

Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026

The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.


SwiftUI is Apple’s modern declarative framework for building user interfaces. Instead of describing step-by-step how to build the UI, you declare what you want, and SwiftUI handles the rest.

In this unit, you’ll get started with SwiftUI. We’ll cover the fundamentals of declarative UI development, creating views, using modifiers to customize appearance, and understanding the SwiftUI view lifecycle. You’ll learn how SwiftUI’s approach differs from UIKit and why it makes UI development faster and more intuitive.

SwiftUI works across all Apple platforms - iOS, macOS, watchOS, and tvOS - so the skills you learn here apply everywhere in the Apple ecosystem.

Lessons in this unit:

0: ▶︎ Introduction
1: Introduction to SwiftUI
2: Views and Modifiers
3: Properties
4: Stacks
5: Spacing
6: Conditional Views