The weirdest Core Data crash I have seen
A developer shares a debugging story about a Core Data crash caused by an attribute name starting with 'new' in Xcode 15/16.
A developer shares a debugging story about a Core Data crash caused by an attribute name starting with 'new' in Xcode 15/16.
A developer shares initial impressions and basic concepts of SwiftData, Apple's data persistence framework built on Core Data, after experimenting with it.
A guide to attaching a Core Data SQLite database file to a failing unit test in Xcode for debugging purposes.
A technique for creating and configuring a NSPersistentContainer in Core Data using a generic extension and configurator protocol.
A guide to creating a Core Data abstraction layer for SwiftUI, enabling clean separation between persistence and the view layer.
A guide on persisting Swift enums in Core Data using computed properties and private integer storage.
A beginner-friendly guide explaining what Core Data is, why it's needed for iOS/macOS apps, and how it simplifies data persistence.
A tutorial on integrating Diffable Data Sources with Core Data in iOS apps to simplify UITableView and UICollectionView updates.
Guide to splitting a Core Data model across multiple .xcdatamodel files and merging them into a single database using NSPersistentContainer.
A developer shares their approach to setting up a Core Data stack outside of AppDelegate, including code for a singleton Database class.
A developer shares non-sponsored book recommendations for improving iOS development skills, covering Core Data, AutoLayout, and Swift.
Tutorial on building an independent Apple Watch expense tracker app using SwiftUI and Core Data, focusing on watchOS design.
A tutorial on building a cross-platform Expense Tracker app for iOS and macOS using SwiftUI, Core Data, and CloudKit for data syncing.
A tutorial on building an iOS expense tracker app using Core Data for data persistence and SwiftUI for the user interface.
Guide on using @FetchRequest in SwiftUI to fetch Core Data with code examples.
Guide on using @FetchRequest in SwiftUI to fetch Core Data with NSManagedObjectContext.
An introduction to using Core Data with SwiftUI, covering @FetchRequest, @Environment, and NSManagedObject integration.
A guide on integrating Core Data with SwiftUI using @FetchRequest and @Environment.
A developer documents buggy behaviors in NSPersistentCloudKitContainer from iOS 13 beta, including sync issues and missing methods.
A developer documents buggy behavior in NSPersistentCloudKitContainer for iOS 13, including sync issues and missing methods.