WWDC23 SALE: Save 50% on all my Swift books and bundles! >>

Don’t panic!

Paul Hudson    @twostraws   

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% in my WWDC23 sale.

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.

Save 50% on all our books and bundles!

Buy Pro Swift Buy Pro SwiftUI Buy Swift Design Patterns Buy Testing Swift Buy Hacking with iOS Buy Swift Coding Challenges Buy Swift on Sundays Volume One Buy Server-Side Swift Buy Advanced iOS Volume One Buy Advanced iOS Volume Two Buy Advanced iOS Volume Three Buy Hacking with watchOS Buy Hacking with tvOS Buy Hacking with macOS Buy Dive Into SpriteKit Buy Swift in Sixty Seconds Buy Objective-C for Swift Developers Buy Beyond Code

Was this page useful? Let us know!

Average rating: 4.5/5

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.