Mes articles

How to (Kind of) Customise SwiftUI’s DatePicker

SwiftUI’s Form comes with handy built-in components.DatePicker being one of them. But when it comes to customisation, you quickly hit limitations. You can’t easily change its look or behaviour without losing the native feel.

How to Disable Liquid Glass When Building for iOS 26

Panicking after installing MacOS Tahoe and Xcode 26, only to see your app’s UI completely broken when running on iOS 26? Thankfully, Apple provides a way to opt out of Liquid Glass temporarily, giving you time to adapt your design.

Fix macOS Forgetting Display Setup using DisplayPlacer and Shortcuts

If you use multiple monitors on macOS, you’ve probably faced the frustrating issue where macOS randomly forgets your display arrangement, resolution, or orientation preferences. This is especially painful when you switch between workstations or use a dock.

Detect Volume Button Presses in iOS

Recently I needed to detect when users are changing the volume on their phone and couldn’t find a working solution : Apple doesn’t expose direct APIs for hardware button events. Fortunately, there’s a simple trick that works consistently across all iOS versions.

Stop Duplicating Version and Build Numbers Across iOS Target

If you ever worked on a multi target iOS project, let’s say an app with a watch companion, a widget and an iMessage extension, you probably had the painful experience of updating the version and build number every time you ship.

Implementing Retry Logic with Async/Await in Swift

Swift’s async/await simplifies asynchronous programming, but tasks sometimes fail, especially network calls. Let’s see how can we simply implement a retry logic.

How to Vertically Center Content in a SwiftUI ScrollView: From Early Hacks to Modern Elegance

SwiftUI layouts changed a lot. Vertically centering content inside ScrollViews used to mean weird hacks and clever workarounds. Things got simpler, thankfully.

Mastering Swift’s OptionSet: A Powerful, Memorable Tool for Bitmasking

When building apps in Swift, you often face scenarios where you need to combine multiple configuration options into a single value. Swift’s OptionSet is a powerful tool for this purpose.

SwiftUI in 5min: Draw a Water Drop with Shape and Path

Have you ever copy-pasted some path code, tried to understand it enough to tweak it, only to give up — either using it as-is or deleting it — only to face the exact same dilemma a few months later?