David
TSDThe Swift Den
•Created by David on 10/24/2023 in #swift-development
Grouping SwiftData objects
Hello, anyone have a good way to group data coming from SwiftData so that it can be displayed in list sections? I currently use a method that converts the data into a dictionary, but I feel it is a bit wasteful. Hopefully we will get a native way to group data next WWDC
2 replies