In this tutorial, I show how to:
• Store and filter enum properties directly in a SwiftData predicate, removing the need for a raw-value storage property and computed wrapper.
• Build flexible filters by composing smaller predicates with Predicate.all and Predicate.any.
• Add search, selected drink-type, and minimum-rating filters to a SwiftData query.
• Use a toolbar filter menu with toggles and a Stepper.
• Group query results into database-backed list sections with SwiftData’s section-by support.
• Preserve filtering, sorting, editing, deleting, and stats while displaying visits grouped by coffee shop.
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.