Fediverse status Publish Plugin
A Publish plugin for embedding fediverse statuses in a blogpost
Published 22 December 2022
A Publish plugin for embedding fediverse statuses in a blogpost
Published 22 December 2022
Published 27 November 2022
Published 20 November 2022
By default, USB Copy will only copy one shared folder. Here's how to copy everything.
Published 20 October 2022
How to accurately position a View over a ScrollView or List, using CoordinateSpaces.
Published 27 August 2022
It's a year since we had solar panels and a Tesla Powerwall installed. Here's how it's going so far.
Published 17 April 2022
What is veganism, what does it mean to me, and how spending habits can affect animal abuse.
Published 15 April 2022
Things to watch our for when using custom fonts with SwiftUI.
Published 19 February 2022
Not sure if "bug" or "feature", but the LinearProgressViewStyle on iOS doesn't support an indeterminate animation. So I made one that animates as you'd expect.
Published 6 January 2022
A dive into the lifecycle of @StateObject objects, and what causes them to be created and destroyed.
Published 3 January 2022
How to add details of AppStore apps to a Publish website, using the AppDetailsPublishPlugin.
Published 25 December 2021
How to include GitLab Snippets in Publish output, using GitLabSnippetsPublishPlugin.
Published 23 December 2021
A terrible Swift package for converting HTML into Markdown.
Published 21 December 2021
I made a thing, and I can't wait to see what you do with it.
Published 18 December 2021
How to customise the Back button title in SwiftUI, without replacing it completely - because we still want to keep the standard Back button behaviour.
Published 2 November 2021
I have a dilemma; the Swift enum is a first-class type and, if we're to obey the laws of encapsulation, an enum type should own its functionality. But can we do this in a nice way, when its behaviour is different for each value in the enum?
Published 27 July 2019
The Coordinator Pattern is rather trendy at the moment. Soroush Khanlou and Paul Hudson have both written very fine blogposts about it, and I saw Paul talk about coordinators - briefly - at iOSDevUK in 2018. There are some great benefits from using Coordinators, but I can't help feeling it doesn't go far enough. I propose that app navigation should be driven by data.
Published 26 January 2019
In 2015, I tried to write a mocking framework for Swift. It was over-engineered, difficult to use, and quickly abandoned. This article introduces a much better re-write.
Published 21 December 2018
I have a confession to make: I've been writing code for 35 years, but still need to count on my fingers when coding an array range-check.
Published 2 December 2018
I've come to the conclusion that using Swift extensions to make types conform to protocols is rather an anti-pattern. Let me explain why.
Published 23 November 2018
Apple's documentation about the NCWidgetProviding protocol, and widgetPerformUpdate: function in particular are rather sparse, and most posts on StackOverflow seem to have a very simplistic view about how this callback should be coded. So here are my tips.
Published 10 November 2018
I'm rewriting Nearly Departed, and working on a large iOS project in my day-job. While working on both of those projects, I've started to rely on two unofficial rules for enumerations.
Published 3 November 2018