SwiftData has always supported enums — but filtering on them was a chore. Raw values, mapping, manual conversions. Not anymore.
iOS 27 changes everything.
What's covered:
#Predicate { $0.expenseType == expenseType }Real example: An expense tracker that filters by ExpenseType enum (food, travel, housing, entertainment) — no raw values, no mapping, just Swift.
Are you tired of Ruby and Fastlane installation issues? There's got to be a better way! Discover Codemagic open source CLI tools. It is not a drop-in replacement for all of what Fastlane does (screenshots for example), but we use it at Codemagic to build and publish iOS and Android apps, also versioning and device provisioning.