Mobile

Swift 5.10 Concurrency Survival Guide

You never know what you’re going to get when updating to a new version of Xcode. Historically, the only thing to worry about was the major version updates that came out in the fall. These include not only support for that year’s new operating systems but also various new IDE features and analysis tools (e.g., checkers and sanitizers). The minor version bumps, by contrast, were much more safe/boring.

ObservableObject initialisation using Environment

At Kiwi.com, the conversion of architecture from UIKit to pure SwiftUI was not without hiccups. One of them was finding a way to properly initialise an ObservableObject that depends on the environment that is injected from above.