Discover more from SwiftUI Weekly
SwiftUI Weekly - Issue #93
The curated collection of links about SwiftUI. Delivered every Monday.
Over the last two years, I have actively used unidirectional flow to develop my apps. I covered the approach I use in the series of posts about building Redux-like state containers. This week I want to share with you how this approach adapts to the latest changes in Swift by applying the new concurrency model.
Let’s take a look at how we can make our UI-related logic fully testable, even when that logic is primarily used within SwiftUI-based views.
Learn how to use the redacted view modifier in SwiftUI to create skeleton views while data is being loaded.
How to convert SwiftUI Color into Hex and from Hex into Color with help of UIColor or CGColor respectively. Extension implementations are shared.
Creating a carousel header view using TabView and ScrollView.
Using a custom alignment guide to control which view is centered in a SwiftUI stack.
This time Stefan and I share our thoughts on the topic of choosing SwiftUI or UIKit for your next iOS project. Fortunately, things are very nuanced and there are also some clear guiding principles we were able to come up with.