SwiftUI Weekly - Issue #63
The curated collection of links about SwiftUI. Delivered every Monday.
Sponsor
Spokestack - AutoML tools that put custom voice into software
Why don’t more iOS apps use voice? Machine learning for voice is hard, and using Siri is clunky and rigid. So we open-sourced an iOS library (also Android, Node, Python, & React Native), and built a no-code web tool to make custom wake words, speech recognizers, and AI voices—for all devs!
Reading
Cleaning up Async Without Swift 5.5
It’s finally here! After seven years of callbacks and completion handlers, we now have a way to cleanly and correctly make asynchronous calls in Swift without endless nesting. It's async/await and it’s awesome.
Building a music recognization app in SwiftUI with ShazamKit
At WWDC 2021, Apple, among other things, released the iOS 15 SDK. This SDK contains a new API to communicate between your apps and Shazam’s vast database of song samples. In this tutorial, we’ll build a music recognization app in SwiftUI that will use the microphone of the iOS or iPadOS device and hit the Shazam servers to fetch music meta-data. Sounds fun? Let’s get started.
Pull to refresh in SwiftUI with refreshable
SwiftUI got a native way to add UIRefreshControl in iOS 15. Let's find out how to add it in the list view and even your custom view.
SwiftUI List Bindings - Behind the Scenes
How to write asynchronous code without deeply nested callbacks.
Customizing Buttons in SwiftUI
Blog about iOS development and musings on technology.
Code
HNReaderApp: Hacker News client for macOS
This is the public repository for the HNReader macOS application.
Video
Setup SwiftUI App with Firebase SPM
In this SwiftUI tutorial, we’ll be looking at how to integrate Firebase into our SwiftUI apps. We’ll see how to install Firebase using SPM (Swift Package Manager), we’ll also discuss the Firebase Console and setting up an App in your Firebase projects. Finally we’ll see how we can test our setup using Firebase Crashlytics to send and report a crash.
What I learned at #WWDC21 watching "Demystify SwiftUI"?
I wanted to share a quick video about what I learned this week at WWDC21. We will answer why we can return "multiple" views using ViewBuilder since opaque types cannot allow you to do that.
Podcast
“Structured concurrency”, with special guest Doug Gregor
Doug Gregor from Apple joins John to discuss Swift 5.5’s new concurrency features in great detail. How do features like async/await and actors work under the hood, and how were those concepts adapted in order to feel right at home within Swift’s existing ecosystem? That, and much more, on this WWDC21 special episode of the show.
Jobs
iOS Software Engineer - News, Stocks, Weather
Apply for an iOS Software Engineer - News, Stocks, Weather job at Apple.
SwiftUI Frameworks Engineer
Apply for a SwiftUI Frameworks Engineer job at Apple.