Martin AlbrechtHow to detect “Designed for iPad” Mac apps in your Swift codeWith the introduction of Apple Silicon Macs, a new device destination called Mac (Designed for iPad) became available within XCode. This…2 min read·Feb 25, 2024----
Martin AlbrechtHow to export Freeform shapes as an image fileWith iOS 16 Apple also released the app Freeform in which you have an endless whiteboard on which you can easily create all sorts of…2 min read·Nov 1, 2023----
Martin AlbrechtHow to: Use raw binary data in your Swift applicationsReading in raw binary data with a simple Swift script on the command line5 min read·Jul 15, 2023----
Martin AlbrechtSwiftUI: An updated approach to limit the amount of characters in a TextField viewSince my last article about how to limit the amount of characters in a SwiftUI TextField, it seems Apple has changed a lot of things with…2 min read·Feb 5, 2022--2--2
Martin AlbrechtinBetter ProgrammingCreate Complex Background Blurs in iOS With SwiftUILet’s use the power of generics in Swift3 min read·Oct 27, 2021--1--1
Martin AlbrechtinITNEXTSwiftUI: Add a nice header skew animation to your viewsDuring some research about typography I discovered an interesting UI effect on one of the sites I visited of which I thought it could…3 min read·Oct 5, 2021----
Martin AlbrechtinITNEXTHow-to: Create a custom ProgressView with SwiftUIFor creating progress bar views in iOS or MacOS apps you might already be familiar with the ProgressView element from UIKit or SwiftUI and…4 min read·Jun 27, 2021--1--1
Martin AlbrechtSwiftUI: How to apply custom button stylesTo style a button with some predefined style inside your app you would usually use the buttonStyle method and apply one to it (e.g…2 min read·Apr 21, 2021----
Martin AlbrechtinITNEXTSwiftUI: Limit the amount of characters in a TextField viewSometimes you need to limit amount of characters a user can enter into an input field in your app — for example when implementing an…3 min read·Apr 7, 2021--3--3
Martin AlbrechtinBetter ProgrammingRuby on Apple Silicon M1 Macs: The Problems, the Findings, and the WorkaroundsGet your Ruby programs up and running on Apple’s ARM-based processor6 min read·Jan 24, 2021--3--3