It's not long until the window closes for SwiftData changes in iOS 17.0. Please file feedback for things that affect you! Two massive ones for me: an equivalent of NSFetchedResultsController to make MVVM work, and an equivalent of (or at least support for) NSCompoundPredicate.
Every feedback report filed about the same issue counts like a vote for it, so don't be afraid to add your voice! All you SwiftData-heads out there – @tundsdev, @donnywals, @FloWritesCode, @StewartLynch, – please do encourage everyone to get involved 🙇‍♂️
@twostraws @tundsdev @donnywals @FloWritesCode @StewartLynch Two for me are 1: PersistentIdentifier encodes to blank JSON (https://mastodon.world/@iandundas/110660567952047230), and 2: when it fails to migrate it doesn't just throw an error - it also wipes the database and starts fresh!! ffuuu. Will make feedbacks.
Ian (@[email protected])

Attached: 1 image I'm finding that `SwiftData.PersistentIdentifier` (which does conform to Codable) encodes to a basically an empty value? Will need to find an alternative way to persist my “last shown X object” then 🤔

Mastodon