Stop Writing the Same SwiftData Code Twice
There's a pattern I kept writing. Fetch, insert, save. Fetch, insert, save. Sometimes
with a predicate, sometimes with a sort descriptor, but always the same shape. I'd
finish a model, open a new feature file, and before I'd written a single line of
business