Mohammad Azam
Mohammad Azam @azamsharp ·
SwiftData does not support aggregate functions like SUM, AVG, or COUNT. You have to fetch your models and then use Swift’s map, reduce, and filter to compute totals, averages, and more. #swiftdata
6
3
6.2K
Mohammad Azam
Mohammad Azam @azamsharp ·
After the success of the SwiftUI Architecture book, I have already begun working on the SwiftData Architecture book. No release date is available at this time. #swiftdata #swiftui
1
843
Gerrit Roska
Gerrit Roska @GerritRoska ·
SwiftData is quietly replacing Core Data in 2026. Simpler models, automatic iCloud sync, and native SwiftUI bindings — persistence finally feels modern. If you're still fighting NSManagedObjectContext, it's time to migrate. #SwiftData #iOSDev #SwiftUI
23
Fernando
Fernando @unfernaonx ·
I've been experiencing with #SwiftData and despite I like it most of the time, sometimes is just a pain!
6
Mohammad Azam
Mohammad Azam @azamsharp ·
Working on #SwiftData book and looking into some of the limitations of SwiftData Queries. 1. Boolean properties cannot be used in sorting... in Queries.
1
1
1.4K
Mohammad Azam
Mohammad Azam @azamsharp ·
When working with SwiftData or Core Data, always make sure to enable SQLDebug flag in launch arguments. This will allow you to see the SQL behind each of your SwiftData operation. #swiftdata PS: I am presenting a free 2 hour session on SwiftData. Register here: youtube.com/live/dO8BN8j9r…
1
1.8K