top of page
Search
SwiftData


Working with Swift Data Images and Data Blob Faulting
If you are building an image-heavy SwiftUI application using Apple’s modern SwiftData framework, there is a performance trap waiting for you. It builds perfectly, looks correct in code reviews, and compiles with zero warnings. But the moment your users drop real-world smartphone photos into it, your system memory will skyrocket, frames will drop, and the iOS kernel will eventually execute an Out-Of-Memory (OOM) crash on your application.
lioneldude
Jun 215 min read


CloudKit Sync with SwiftData: Getting Your Data Models Right
Adding CloudKit sync to your SwiftData app? Small mistakes in your data models can cause frustrating runtime crashes and sync failures. Learn the critical requirements CloudKit enforces: why every property needs a default value, which delete rules actually work, how to set up relationships correctly, and why you should create your CloudKit container early—even if you're starting local-only. Get these fundamentals right and save hours of debugging.
lioneldude
Jan 165 min read
bottom of page