Posts in: iosdev

2025

I have been calling and treating AI/LLM tools as bullshit generators. It helps to test your own assumptions from time to time, head-first.

2024

Solving backward-compatibility issues in Swift 6 language mode.

I recently had to tackle uploading somewhat larger files from an iOS app to a backend service. It’s not a type of functionality that’s often needed thus every time I have to do it I end up re-discovering some gotchas. Best way to remember is to write it down hence this blog post.

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

Unstucking SPM resolver graph.

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

From naive to delusional to insulting.

2018

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

2015

2014

2012