SwiftUI Weekly - Issue #121
The curated collection of links about SwiftUI. Delivered every Monday.
CI/CD for iOS and macOS developers. Fast builds on M1 machines and predictable pricing. Automatic code signing and publishing with really good documentation.
Nowadays, SwiftUI provides the Layout protocol allowing us to build super-custom layouts by digging into the layout system without using GeometryReader. Layout protocol brings us the incredible power of building and reusing any layout you can imagine. This week we will learn how to use the new Layout protocol to build a flow layout in SwiftUI.
Learn about SwiftUI ForEach in this article. Discover how to use SwiftUI ForEach with nontrivial examples.
Sometimes in SwiftUI apps I’ll find that I have a model with an optional value that I’d like to pass to a view that requires a non optional value.
Using long press and drag gestures in a SwiftUI ScrollView is complicated, since they steal the touch events and cause scrolling to stop working. I’ve been trying to fix this, and have found a way that seems promising, that involves using a button style to handle the scroll blocking gestures.
Using Swift enums to describe the possible states of a View.
In this video, we will introduce the concept of composition in TCA using three operators to combine small domains to build a large one. This is useful to modularize your app really easy.
Aviel Gross talks about how to improve performance in your SwiftUI and what happens behind the scenes as your application updates.