Cloud Cloud

Iva Horn

Notes from a software engineer for iPhone, iPad and Mac apps.

Memoji

Macro Posts

The following posts have been tagged with "Macro".

Logging and Signposting Taxonomy in Concurrency

March 12, 2024

Having a file provider extension with multiple domains and processes and even more enumerators logging in parallel can become a mess. Leveraging the subsystem and category fields to the rescue.

Signposting Macro

February 16, 2024

I was very excited about macros because they allow the reduction of boilerplate code like handling signposts. This macro reduces signposting in a method to a single word expression.

Logging Macro

February 1, 2024

With the introduction of Swift macros in 2023, I have came across a few situations in which they have become useful. One is the reduction of boilerplate code. In example the automatic declaration of a Logger property on a type.