SwiftUI Weekly - Issue #202
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
Font modifiers in SwiftUI
Font modifiers are a great way to manage typography in SwiftUI, letting us style text directly at the font level. Using these modifiers thoughtfully can help us create a polished look that improves our app’s user experience.
Conditional SwiftUI Accessibility Labels
In iOS 18, Apple added an optional isEnabled
parameter to many of the accessibility modifiers.
Measuring View Visibility Percentage in SwiftUI Using PreferenceKeys
This looks like a hard challenge to take and don’t take me wrong, is not easy either. We will need to understand a lot of small concepts but don’t worry we will present every little step one at a time.
SwiftUI Self-Sizing Flow Layouts
The UIKit combination of UICollectionView and the UICollectionViewFlowLayout gives a lot of flexibility and control to build grid-like flow layouts. How do we do that with SwiftUI?
Using ViewThatFits to Create a More Accessible List Cell in SwiftUI
Creating accessible user interfaces is a crucial aspect of modern app development. However, ensuring that your app is accessible to all users can sometimes be challenging. In this article, we’ll explore how to use the ViewThatFits
component to create more visually accessible list cells in your SwiftUI apps.