SwiftUI Weekly - Issue #149
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
Mastering ScrollView in SwiftUI. Scroll Position
This week we will continue the series of posts dedicated to mastering ScrollView. Today we will talk about a set of new options for controlling the scroll content position of a ScrollView in SwiftUI.
SwiftUI Data Flow 2023
SwiftUI is a reactive framework where the data drives the UI. In 2019, I wrote a post detailing how I manage the various forms of data flow through a SwiftUI app, and with the help of others in the community, I iterated over this until I had a good understanding of the concepts and which methods you should use when. In 2021, I updated the post to cover the minor changes, but there have been no major modifications since then.
Configuring SwiftData in a SwiftUI app
In this article, I will show you how I configured SwiftData for one of my SwiftUI apps and some of the things I have learnt along the way.
Create an Interactive Widget Using App Intents
Create an interactive widget that increments a global count, shared with its target app, from a button tap powered via App Intents.
Videos
How To Sort Data In SwiftData
In this video, we're going to tackle just that. We're going to look at how we can work with both simple sorting using the swiftdata query macro and also as well swiftdata dynamic sorting using a menu with a picker.