NEW: Join my free 100 Days of SwiftUI challenge today! >>

Don’t panic!

Paul Hudson    @twostraws   

Fully updated for Xcode 11.2

WWDC19 contains more large announcements than any in years, so if you’re looking at all the news and code coming out from San Jose and feeling like your head is spinning, let’s start with the most important thing: don’t panic.

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.

Everything you know about UIKit is still useful, and will be for a good few years.

Everything you know about Swift hasn’t changed, so that’s all useful.

Everything you know about the way iOS apps look and feel hasn’t changed.

What has changed is how we make our apps. Yes, there’s 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 SwiftUI in less than a day. And if you’re approaching SwiftUI without any knowledge of UIKit, that’s OK 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 10.15 installed alongside Xcode 11. This combination allows you to see your SwiftUI designs previewed right inside Xcode, which is significantly faster than pushing to the simulator all the time.

SPONSORED Instabug helps you identify and resolve severe crashes quickly. You can retrace in-app events and know exactly which line of code caused the crash along with environment details, network logs, repro steps, and the session profiler. Ask more questions or keep users up-to-date with in-app replies straight from your dashboard. Instabug takes data privacy seriously, so no one sees your data but you! See more detailed features comparison and try Instabug's crash reporting SDK for free.

BUY OUR BOOKS
Buy Pro Swift 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 (Vapor Edition) 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 Server-Side Swift (Kitura Edition) Buy Beyond Code

Was this page useful? Let us know!

Average rating: 4.5/5