The Great SwiftData Heist
summary
A demo shows parsing a JSON file of 23 evil frameworks into a tiny SwiftUI app using SwiftData, the model macro for entities, a model container/model context for CRUD, and sort/predicate examples; the app decodes, persists across relaunches, updates individual objects, and deletes items—working end to end. Concrete gotchas include query collections being read-only, needing bindable passes for full mutations, and adding CodingKeys/Decodable manually for the JSON mapping.
AI-written summary · about
chapters (6)
related talks
45mswiftui view codable – transforming swiftui to json for a fully backend driven ui
45mSwiftData as a Replacement for CoreData: Deep Dive
47mExploring Key Practices of Observation and SwiftData in New Application Development
39mSwift and You
26mEffective Core Data with Swift
47mAdvanced Codable — When the API wasn’t built for Swift
32mSwiftUI in 25 Minutes
39mCodable Deep Dive
