Posts in: coredata

2024

Core Data is often dunked on for its performance, especially involving large quantities of objects. Let’s dig into this.

There is no silver bullet when it comes to importing large sets of data into a complex Core Data graph. But it's not impossible to do. This is common sense approach that worked very well in my apps, for several years now.

2023

Explanation of the serious bug in sections order when sectionNameKeyPath is not the first item in the FRC’ sortDescriptors.

If your Swift struct supports Codable, you can save and restore it through Core Data persistance layer.

2022

A look into the intricate details of Core Data NSFetchedResultsController’s new delegate method to work with diffable data sources driving a collection view.

Swift’s OptionSet is great type. Here’s how you save and read such values in Core Data.

2021

Old-school way of handling async tasks using Operation

2018

Core Data is large and powerful framework. Learn how to use it properly and efficiently in iOS app of any complexity.

A bug in Apple’s code that appears only in 10.3 and only on device

2017

One more step on the path to hide Core Data‘s Objective-C details

Voodoo called @NSManaged is not always your friend

2016