ViewLab

Learn Swift and SwiftUI, free, in your browser

Nine short sessions that take you from your first SwiftUI screen to navigation, data flow, lifecycle, SwiftData and Charts. Every SwiftUI example runs live beside an iPhone preview, and plain Swift runs as you type, so you can learn on Windows, Linux or a Chromebook.

Start the interactive course →

What's in the course

Is this Apple's SwiftUI?

No. ViewLab runs SwiftUI code in the browser with its own engine, which covers the parts you need to learn and practise. To publish an app you still need Xcode on a Mac; ViewLab can export a starting project for it.