27 March 2022
An idea to use the new chain of member references syntax to improve the declaration of static properties when working with a large number of elements
6 February 2022
What I do not appreciate about CoreData today
26 September 2021
Some techniques to improve the pointer interactions and animations for buttons
12 August 2021
As well as restarting, shutting down and putting the computer to sleep.
8 August 2021
Some ideas to easily position a NSWindow with AppKit and SwiftUI.
13 June 2021
Learn how to build a form using SwiftUI, and then how to export the user's inputs as JSON. A last optional part explains how to validate the inputs and how to warn the user.
13 December 2020
In this second tutorial of the series you will learn how to develop an interface to let the user choose a script to execute and execute it.
22 November 2020
A solution to hide a singleton behind a property wrapper for easier use and dependency injection.
25 October 2020
This tutorial is the first one of a series to learn how to use SwiftUI in Swift scripts. Some basis of SwiftUI are explained, as well as how to display an interface like with an application in a Swift script.
4 October 2020
An overview of <code>NSNotification</code> usage then a discussion about making <code>NSNotification</code> more "Swifty" by implementing extensions and a <code>NotificationObserver</code> wrapper (final Playground file provided).
21 September 2020
Whenever your work with numbers, you might want to define special ones that act a bit differently from others, while keeping their value. For example, it could be useful to define a <code>first</code> and <code>last</code> integers to be used in a range to target the first and last valid indexes of an array.
4 September 2020
In this tutorial, learn how to implement a privileged helper on macOS from scratch. The goal is to make the application Scriptex able to execute scripts with root privileges.