SwiftUI was announced during the keynote at WWDC19, and already we’ve seen a huge number of free tutorials as articles, YouTube videos, books, and more – it’s safe to say that folks are excited, and are keen to share that excitement with the world!
I’ve been creating lots of SwiftUI tutorials myself, but I’ve also been reading tutorials from many other developers. In this article I’ve tried to bring together tutorials from a variety of folks, because everyone learns differently – hopefully you’ll find a tutorial that teaches SwiftUI in a way that works great for you.
Shortly after SwiftUI was announced I published an article called Get started with SwiftUI, which outlines the basics of creating views, stacks, lists, and more.
Since then, I’ve produced a huge amount of SwiftUI example code and videos:
More recently I’ve been working on videos that create full apps in SwiftUI so that folks can see concepts in action rather than as isolated examples. For example:
These videos aren’t too long, but still give enough room to really show the power and conciseness of SwiftUI. Here’s an example to get you started:
There are lots of folks writing tutorials aimed at helping you get started with SwiftUI. They come in at a variety of difficulty levels in terms of how they structure their content – they are all aimed at help you get started, but some are easier than others!
Of course, I should start this list by saying that Apple’s own SwiftUI tutorials are excellent – lots of code, lots of screenshots, and even quiz questions to help test your learning.
We have a huge variety of video creators in the Swift community, and it’s great to see them all so excited about SwiftUI!
Here’s a selection of the many SwiftUI videos that are already available:
New videos are appearing daily covering ever more topics, so you might want to subscribe to some of those channels if you want regular updates.
There have been no end of hot takes on SwiftUI, but a handful of particularly experienced folks have taken the time to write a more considered view from a variety of perspectives.
In particular, I enjoyed these:
Even though almost everyone is positive about SwiftUI, it’s worth adding a little skepticism too – see A Skeptics view on SwiftUI by Jille van der Weerd.
Sites like About SwiftUI by Juanpe Catalán and Awesome SwiftUI by Yogesh Singh are popping up as a way to help us all keep track of the many resources available for SwiftUI – if you’re thirsty for more SwiftUI you should start there.
Ultimately, though, we’re only in the earliest days of SwiftUI, and we can still expect a huge number of changes to land before 1.0 ships with the Xcode 11 GM. I don’t know about you, but I’m particularly looking forward to Forms code, more wrappers around common UIKit controls, and the rest of the Combine framework dropping!
In the meantime, what are your favorite resources for learning SwiftUI? Let me know and I’ll expand this list – @twostraws send me a tweet!
HACKING WITH SWIFT LIVE This July is a new two-day event where you'll be inspired by great speakers on day one then learn all the amazing new features from WWDC on day two – click here for more information and tickets.
Paul Hudson is the creator of Hacking with Swift, the most comprehensive series of Swift books in the world. He's also the editor of Swift Developer News, the maintainer of the Swift Knowledge Base, and Mario Kart world champion. OK, so that last part isn't true. If you're curious you can learn more here.