Updated for Xcode 14.2
Yes, I know SwiftUI is a massive new thing that might seem completely alien at first, but in this guide you’ll get lots of hands-on help to guide you through understanding how SwiftUI works so you can be up and running with it fast.
If you’re already familiar with Swift, then everything you know about UIKit is still useful, and will be for a good few years.
Everything you knew about Swift hasn’t changed, so that’s all useful.
Everything you knew about the way iOS apps look and feel hasn’t changed.
What does change with SwiftUI is how we make our apps. Yes, Apple introduced a lot of new things to learn, but once you’re past the basics you’ll start to recognize lots of common ground with UIKit.
So, again: don’t panic. If you’re already proficient with UIKit you can pick up the basics of SwiftUI in less than a day. And if you’re approaching SwiftUI without any knowledge of UIKit, that’s okay too because you’ll find SwiftUI gives you an unparalleled app building experience.
So, trust me: you’ve got this.
Before we start: Please make sure you have macOS 11 installed alongside Xcode 13. This combination gives you the most recent version of SwiftUI, which in turn delivers the most functionality and performance.
SAVE 50% To celebrate WWDC23, all our books and bundles are half price, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.
Link copied to your pasteboard.