Swift examples for building apps
On the blog, I share how I solve practical problems with Swift and Apple’s frameworks.
Swift-Beispiele für die App-Entwicklung
Im Blog zeige ich anhand von Codebeispielen, wie ich konkrete Probleme mit Swift und Apples Frameworks löse.
-
Extracting RGBA Components from Color in SwiftUI, UIKit and AppKit
If you’re saving user colours, tweaking animations, or just trying to debug what you see on screen, Color doesn’t give you direct access to its components. In this post, we’ll fix that with simple extensions for UIColor, NSColor, and Color to reliably extract RGBA values across platforms. It’s a lightweight solution that works on all…