<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/whats-new-in-swiftdata-ekmsfccnr" -->

---
title: Whats New In Swiftdata | daily.dev
description: iOS 27 brings several meaningful improvements to SwiftData that address long-standing developer pain points. Key additions include: enum predicates (filter...
canonical: https://daily.dev/posts/whats-new-in-swiftdata-ekmsfccnr
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Whats New In Swiftdata | daily.dev
og:description: iOS 27 brings several meaningful improvements to SwiftData that address long-standing developer pain points. Key additions include: enum predicates (filter...
og:url: https://daily.dev/posts/whats-new-in-swiftdata-ekmsfccnr
og:image: https://api.daily.dev/og/posts/EKmSFccnr.png
og:image:alt: Whats New In Swiftdata
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Whats New In Swiftdata

**[AzamSharp](https://daily.dev/sources/azamsharp)** · 22 min read · 0 upvotes · 0 comments

## Summary

iOS 27 brings several meaningful improvements to SwiftData that address long-standing developer pain points. Key additions include: enum predicates (filter directly on enum values without raw value workarounds), sectioned queries via a new sectionBy parameter on @Query, compound predicates using Predicate(all:) and Predicate(any:) for dynamic filtering, a new .codable attribute on @Attribute to persist complex framework types as blobs, ResultsObserver for observing store changes outside SwiftUI views in @Observable classes, and HistoryObserver for tracking inserts/updates/deletes to power backend synchronization pipelines. Each feature is explained with practical code examples from personal finance and home inventory app scenarios.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://azamsharp.com/2026/06/12/whats-new-in-swiftdata.html>

## Similar posts on daily.dev

- [Stability > New Features -- Fatbobman's Swift Weekly \#138](https://daily.dev/posts/stability-new-features----fatbobman-s-swift-weekly-138-e3zsz6sd3) · Fatbobman · 0 upvotes · 0 comments

---

Tags: [#ios](https://daily.dev/tags/ios), [#swift](https://daily.dev/tags/swift), [#swiftui](https://daily.dev/tags/swiftui)

[View this post on daily.dev](https://daily.dev/posts/whats-new-in-swiftdata-ekmsfccnr)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Whats New In Swiftdata","url":"https://daily.dev/posts/whats-new-in-swiftdata-ekmsfccnr","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/whats-new-in-swiftdata-ekmsfccnr"},"datePublished":"2026-07-05T07:13:28.833Z","dateModified":"2026-07-05T07:15:08.806Z","description":"iOS 27 brings several meaningful improvements to SwiftData that address long-standing developer pain points. Key additions include: enum predicates (filter...","image":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","thumbnailUrl":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","isAccessibleForFree":true,"articleSection":"AzamSharp","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"AzamSharp","logo":"https://media.daily.dev/image/upload/logos/placeholder.jpg","url":"https://daily.dev/sources/azamsharp"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/whats-new-in-swiftdata-ekmsfccnr","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ios,swift,swiftui","timeRequired":"PT22M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"AzamSharp","item":"https://daily.dev/sources/azamsharp"},{"@type":"ListItem","position":3,"name":"Whats New In Swiftdata"}]}
```

