#swiftdata
Add -com.apple.CoreData.SQLDebug 1 as a launch argument and you can watch exactly what SwiftData is doing under the hood. Tip: don't delete it when you're done, just uncheck the box so it's ready when you need it again 🔍 www.hackingwithswift.com/quick-start/...
Using launch arguments to debug SwiftData and Core Data - a free SwiftData by Example tutorial
Learn Swift coding for iOS with these free tutorials
www.hackingwithswift.com
September 22, 2026 at 1:45 PM
It’s finally here: SQLiteData 1.0: a fast, lightweight replacement for SwiftData with full CloudKit support.
www.pointfree.co/blog/posts/1...
SQLiteData 1.0: An alternative to SwiftData with CloudKit sync and sharing
Announcing SQLiteData 1.0: A fast, lightweight alternative to SwiftData with full support for CloudKit synchronization and data sharing.
www.pointfree.co
September 17, 2025 at 4:46 PM
Tell a friend to save a life:

❌ name.lowercased().contains(searchText.lowercased())
✅ name.localizedStandardContains(searchText)

The latter ignores case, but also ignores diacritics (cafe vs café), handles localized variants (ẞ → ss, etc), and is supported in SwiftData.
March 13, 2025 at 1:35 PM
Just published a full walkthrough on building a #SwiftData backed notes app using our rich text editor from part one. We cover models, CRUD, navigation, previews, and how #AattributedString is stored as JSON in SQLite. Give it a watch. youtu.be/SL8yxBGuTuo
RichText Notes App - AttributedStrings and SwiftData Part 1
YouTube video by Stewart Lynch
youtu.be
November 30, 2025 at 2:33 PM
SwiftData handles database creation, relationship management, view updates, and CloudKit sync - all without writing a single line of database code. Build a real app with it from scratch in this tutorial. www.hackingwithswift.com/articles/263...
Build your first app with SwiftUI and SwiftData
Learn about queries, models, containers, and more, all while building a real app.
www.hackingwithswift.com
April 30, 2026 at 1:52 PM
SwiftData doesn't synthesize Codable conformance for you, but adding it by hand follows the usual pattern. If your model has relationships, those need to be Codable too: www.hackingwithswift.com/quick-start/...
How to make SwiftData models conform to Codable - a free SwiftData by Example tutorial
Learn Swift coding for iOS with these free tutorials
www.hackingwithswift.com
June 16, 2026 at 1:19 PM
Building a document-based app with SwiftData takes just four changes: a UTType declaration, a target property, a DocumentGroup in your App struct, and a content type conformance. SwiftData handles all the per-document storage behind the scenes. www.hackingwithswift.com/quick-start/...
www.hackingwithswift.com
July 7, 2026 at 1:17 PM
Add -com.apple.CoreData.SQLDebug 1 as a launch argument and you can watch exactly what SwiftData is doing under the hood. Tip: don't delete it when you're done, just uncheck the box so it's ready when you need it again 🔍 www.hackingwithswift.com/quick-start/...
Using launch arguments to debug SwiftData and Core Data - a free SwiftData by Example tutorial
Learn Swift coding for iOS with these free tutorials
www.hackingwithswift.com
April 14, 2026 at 1:15 PM
If You Are Not Versioning Your Swiftdata Schema
If You’re Not Versioning Your SwiftData Schema, You’re Gambling
azamsharp.com
February 19, 2026 at 11:25 AM
Does anyone else have an irrational fear of SwiftData migrations?
February 7, 2026 at 11:36 AM
SwiftData can infer relationships automatically, but explicit @Relationship saves headaches. My advice: always spell out your relationships rather than relying on inference. www.hackingwithswift.com/quick-start/...
Inferred vs explicit relationships - a free SwiftData by Example tutorial
Learn Swift coding for iOS with these free tutorials
www.hackingwithswift.com
March 24, 2026 at 3:17 PM
Next up is SwiftData Pro: an agent skill that helps AI coding tools write better SwiftData code. Covers Model, Query, predicates, indexes, migrations, relationships, iCloud sync, and lots of sharp edges. Works with all agents out of the box. github.com/twostraws/Sw...
GitHub - twostraws/SwiftData-Agent-Skill: SwiftData agent skill for Claude Code, Codex, and other AI tools.
SwiftData agent skill for Claude Code, Codex, and other AI tools. - twostraws/SwiftData-Agent-Skill
github.com
March 11, 2026 at 3:45 PM
Announcing a toolkit that provides a SwiftData-like experience to SQLite: SharingGRDB with StructuredQueries.

www.pointfree.co/blog/posts/1...
A fast, lightweight replacement for SwiftData
Replace SwiftData with a fast, ergonomic and lightweight suite of tools powered by SQL. It provides APIs similar to @Model, @Query and #Predicate, but is tuned for direct access to the underlying data...
www.pointfree.co
April 22, 2025 at 5:55 PM
Use @Attribute(.externalStorage) to hint to SwiftData that large data like images should live outside the main store. It handles everything transparently, just don't try using those properties in predicates. www.hackingwithswift.com/quick-start/...
How to store SwiftData attributes in an external file - a free SwiftData by Example tutorial
Learn Swift coding for iOS with these free tutorials
www.hackingwithswift.com
May 12, 2026 at 1:23 PM
I've been a Web Dev for *checks watch* 22 years, and at work, my scope expanded to include Core iOS infrastructure at Google, so I'm taking the opportunity to build and learn Apple App Dev.

I'm sharing some thoughts about the brand new SwiftData, as a dev coming from a different platfom.
December 1, 2024 at 4:34 PM
Another improvement in SwiftData. Codable type properties can now be used as filter criteria for building predicates.
June 10, 2025 at 3:43 AM
I wish Apple used SwiftData in its sample #WWDC25 code projects...

It would have been a great opportunity to showcase how to use SwiftData properly with App Intents using an AppDependencyManager for example.
June 22, 2025 at 11:04 AM
SwiftUI + SwiftData 🙌
February 28, 2025 at 1:09 AM
SwiftData's #Predicate macro looks like pure Swift but gets compiled into something else entirely. Some things crash at runtime, some silently return nothing, and !value can behave differently to value == false. 😅 www.hackingwithswift.com/quick-start/...
How to filter SwiftData results with predicates - a free SwiftData by Example tutorial
Learn Swift coding for iOS with these free tutorials
www.hackingwithswift.com
March 17, 2026 at 4:32 PM
Renaming a SwiftData property without @Attribute(originalName:) will silently discard your users' data. One small macro saves a lot of heartache. 😬 www.hackingwithswift.com/quick-start/...
How to rename properties without losing data - a free SwiftData by Example tutorial
Learn Swift coding for iOS with these free tutorials
www.hackingwithswift.com
June 23, 2026 at 1:10 PM
SwiftData didn't get many updates this year, but our SQLite alternative to SwiftData is cooking!

We've added seamless asset sync to our library. Just attach some binary data to a row (like a cover image to a reminders list), and have it immediately sync'd to all devices! 🤯
June 10, 2025 at 8:37 PM
SwiftData's underlying store is just SQLite, which means you can inspect it directly from Terminal when something seems off. A handy ModelContext extension makes getting the right command trivial: www.hackingwithswift.com/quick-start/...
How to read the contents of a SwiftData database store - a free SwiftData by Example tutorial
Learn Swift coding for iOS with these free tutorials
www.hackingwithswift.com
August 11, 2026 at 12:24 PM
SwiftData can infer relationships automatically, but explicit @Relationship saves headaches. My advice: always spell out your relationships rather than relying on inference. www.hackingwithswift.com/quick-start/...
Inferred vs explicit relationships - a free SwiftData by Example tutorial
Learn Swift coding for iOS with these free tutorials
www.hackingwithswift.com
August 25, 2026 at 8:27 PM
Finally I had a time to work on my habit tracker App.
✅ Migrated from CoreData to SwiftData
✅ Added support for more than one habit
✅ updated calendar to move to the past
⚠️ broke widgets 😅 but those should be updated anyway
November 30, 2024 at 6:39 AM
SwiftData Bug Fixed!
The issue where modifications to ModelActor in a private context were not immediately reflected in the view has been fixed. Additionally, this issue has been resolved for SwiftData applications compiled with Xcode 26 on iOS 18.
June 10, 2025 at 1:00 AM