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…Feb 25Feb 25
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…Nov 1, 2023Nov 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 lineJul 15, 2023Jul 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…Feb 5, 20222Feb 5, 20222
Martin AlbrechtinBetter ProgrammingCreate Complex Background Blurs in iOS With SwiftUILet’s use the power of generics in SwiftOct 27, 20211Oct 27, 20211
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…Oct 5, 2021Oct 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…Jun 27, 20211Jun 27, 20211
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…Apr 21, 2021Apr 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…Apr 7, 20213Apr 7, 20213
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 processorJan 24, 20213Jan 24, 20213