Updated for Xcode 12.5
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 12. This combination gives you the most recent version of SwiftUI, which in turn delivers the most functionality and performance.
SPONSORED ViRE offers discoverable way of working with regex. It provides really readable regex experience, code complete & cheat sheet, unit tests, powerful replace system, step-by-step search & replace, regex visual scheme, regex history & playground. ViRE is available on Mac & iPad.
Link copied to your pasteboard.