Model Conversion Implementations
January 26, 2026
Having one semantic data model but two different types for implementation to separate domains and architecture layers brings up the question: where to put the conversion code?
Notes from a software engineer for iPhone, iPad and Mac apps.
The following posts have been tagged with "Swift".
January 26, 2026
Having one semantic data model but two different types for implementation to separate domains and architecture layers brings up the question: where to put the conversion code?
June 25, 2024
During WWDC24, Apple finally introduced a “swifty” test framework to replace XCTest.
May 18, 2024
Breaking down individual features of domain-oriented managers into dedicated implementations improves developer experience.
March 28, 2024
Some SwiftUI views I have require padding one platform and none on the other. To avoid preprocessor switches everywhere I created a custom view modifier for it.
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.
March 6, 2024
Out of necessity I created a minimalistic SwiftUI app which performs MD5 hashing to get a rough feeling how efficient it is on Apple devices.
February 27, 2024
I need to maintain a virtual file system in a CoreData database. Setting up test scenarios is tiresome, so I made use of result builders and its nice.
February 22, 2024
There is a better way than to repeat the same or similar NSPredicate all the time and it is very nice to read.
February 16, 2024
I rarely need to use defer blocks and mostly it is for ending signpost intervals. I checked the possible situation of having multiple and in which order they are executed.
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.