Find any article in my blog

In this blog I talk about all things Apple and Swift development but my main area of focus is on tooling and automation.

Generate and read analytics reports from the App Store Connect API

Apple has recently introduced over 50 new analytics reports to help developers understand how their apps are performing. These are only available through the App Store Connect API and in this post, I'll show you how to generate and read them.

Core Data staged migrations

As announced in WWDC23, and very similarly to the way you perform migrations across Swift Data models, you can now define Core Data migrations programmatically using an NSStagedMigrationManager instance.This method works by defining a series of migration steps (called stages) that describe how to migrate across different versions of your model.

How to generate Swift interfaces from Pkl configuration files using SPM plugins

Pkl (pronounced Pickle) is a new programming language from Apple designed specifically for configuration. It allows developers to design data models richly and expressively through the use of types and then validate them to catch errors early on. A feature that sets it apart for Apple developers and, as it couldn't be any other way with Pkl being an Apple language, is that it has a suite of tools available for generating Swift interfaces from `.pkl` configuration files.

Validate your XCTest utilities and extensions with unit tests

Make sure no regressions occur in your custom XCTestCase extensions and helper methods with unit tests and XCTExpectFailure.

Custom Core Data migrations

A step-by-step guide on how to perform complex Core Data migrations using mapping models and custom migration policies.

Automating app releases for multiple platforms with Xcode Cloud

A peek into a real-world example of a release workflow using Xcode Cloud to build and distribute an app with an iOS and a visionOS target.

Setting up SharePlay on an iOS app

How to configure, start and manage shared experiences in your iOS app using SharePlay.

Generating beautiful open-graph images dynamically

How we built a feature using serverless functions, satori and resvg to generate beautiful open-graph images dynamically for NowPlaying

Image to image local Stable Diffusion pipelines with ControlNet in Swift

How to use Core ML and Swift to modify existing images with Stable Diffusion and ControlNet.

How I stay up to date as a software developer

Tips and tricks that I use to keep up with the ever-changing software development industry.

How to use Stable Diffusion models in a Swift app

How to load and use local Stable Diffusion models in a Swift app using CoreML and ml-stable-diffusion.

Looking back at my 2023

A look back at what I have been up to in 2023 and what I am trying to achieve in 2024.