SwiftUI Weekly - Issue #140
The curated collection of links about SwiftUI. Delivered every Monday.
Add SwiftUI code to your app in seconds. See why so many developers use AICoding to speedup their development process for a fraction of the OpenAI license cost. Learn more here
I work on a medical app where the user needs to export health data rendered using the Swift Charts framework. It was straightforward to achieve by leveraging the power of the new ImageRenderer type. This week we will learn how to use the ImageRenderer type to export SwiftUI view as an image or PDF.
So you want to learn how @MainActor works in Swift, but you don’t have a lot of time? In just a few minutes, we’ll go over everything you need to understand how this powerful feature works!
If you create a SwiftUI View that has a
@Binding variable and need to implement a custom initializer for that view, you might get the following error when trying to initialize the
This repo is a 100% SwiftUI app showcasing examples of navigation, Multiplatform support & deep linking using the new NavigationStack & NavigationSplitView APIs based on the course that showcases everything you need to know about handling navigation in SwiftUI apps.
Recently I’ve been doing a lot of heart rate based training. This involves doing some activity (rowing, biking, running, etc…) with the goal of getting my heart rate into specific range and keeping it here. I find this is a really helpful way to improve my cardiovascular health, while putting minimal strain on my body more generally.