SwiftUI

Apple's declarative UI framework — building screens, managing state, and structuring SwiftUI apps.

SwiftUI for Beginners

A nine-lesson course for people new to SwiftUI. Each lesson teaches one substantial idea and ends with something you can build, so start with Lesson 1 and work through them in order.

  1. Lesson 1 Getting Started with SwiftUI Understand View, body, Text, Image and modifiers while building your first simple SwiftUI interface.
  2. Lesson 2 Building Your First Screen Learn stacks, spacing, alignment, padding, frames and backgrounds by building a complete screen.
  3. Lesson 3 Making Your Screen Interactive Buttons, @State, Toggle and TextField through a small interactive interface.
  4. Lesson 4 Working With Lists of Data Models, ForEach, List and Identifiable.
  5. Lesson 5 Navigation & Multiple Screens NavigationStack, NavigationLink and passing data between screens.
  6. Lesson 6 Sharing State Between Views Extract reusable components and learn @Binding and observable state. Coming soon
  7. Lesson 7 Building Real App Interfaces Scroll views, grids, sheets, alerts and toolbars. Coming soon
  8. Lesson 8 Loading Data & MVVM Async/await, loading/error states and beginner-friendly view models. Coming soon
  9. Lesson 9 Beginner Project Combine the course concepts into one small polished SwiftUI app. Coming soon

After the Beginner Course

  • Animations Coming soon
  • Performance Coming soon
  • Architecture Coming soon