Tag

Core Data

43 posts

20264 posts

  1. CDE: An Attempt to Make Core Data Feel More Like Modern Swift

    In my previous article, I discussed the current reality of Core Data in today's projects: it hasn't disappeared, and it still has unique value, but the disconnect between it and modern Swift projects is becoming increasingly apparent. In this article, I will introduce my experimental project Core Data Evolution, exploring whether we can make Core Data continue to exist in modern Swift projects in a more natural way?

  2. Why I'm Still Thinking About Core Data in 2026

    Core Data remains widely used in 2026, but its mismatch with modern Swift concurrency, type safety, and code expression is growing. This article outlines the three core pain points and introduces a path to modernization without abandoning Core Data.

20252 posts

20249 posts

20234 posts

  1. WWDC 2023, What’s New in Core Data

    Explore Core Data’s WWDC 2023 updates: composite attributes, Swift-friendly predicates, version checksum, deferred & staged migration. Learn how these enhancements benefit your data management.

202210 posts

  1. Batch Operations in Core Data

    Explore Core Data's batch operations: principles, usage (delete, update, insert), advanced techniques, and essential considerations for efficient data handling.

  2. Count Queries in Core Data: The Master Guide

    Explore various methods for querying and using count in Core Data, including countResultType, managed object context, result sets, relationships, and derived properties. Learn how to optimize count queries for different scenarios.

202113 posts

  1. Mastering Core Data Stack

    Learn how to design a robust Core Data Stack, covering its functions, components like NSManagedObjectModel and NSPersistentStoreCoordinator, and configurations. Understand the evolution from basic setup to advanced features like CloudKit and persistent history tracking.

20201 posts

  1. Discussing CoreData Usage in SwiftUI

    Explore lessons learned using CoreData in SwiftUI development over the past year. Discover insights on persistent storage, dynamic @FetchRequest, a transformation layer, and issues with NSPersistentCloudKitContainer. Avoid SQL thinking with CoreData.