Vapor 4 and Session Authentication
May 1, 2020, 12:08 PM
I can only explain it as lock-down madness, but a couple of weeks ago I decided to have a little play around with Vapor.
What I wanted to do, initially, was just make a simple website that did user authentication. You could register,...
Random Acts of Pragmatism
Mar 6, 2020, 5:04 AM
I have been accused (by myself, mostly), of being a bit too much of a purist sometimes. It’s true that I do like things to have an intellectual rigour to them, but it’s mostly about being honest and clear with ourselves about what we’re...
Github Actions and Swift
Mar 5, 2020, 9:29 AM
Bookish Development Diary, episode 8.
As I mentioned last time, I’ve been playing around with Github Actions, using them to build and test my Swift packages on a number of platforms.
They’re fairly easy to set up - you make a yaml file...
Feb 28, 2020, 12:09 PM
Bookish Development Diary, episode 7.
Ok, I admit it, I fell down a bit of a rabbit hole a couple of weeks ago.
Quite a lot of my open source packages have some sort of unit tests, and I’d been using Travis-CI as a way of running them,...
Fighting With UISplitViewController
Jan 31, 2020, 8:27 AM
Bookish Development Diary, episode 6.
Call me an idiot (“Sam, you’re an idiot” - ed.), but whenever I try to use UISplitViewController, I seem to get myself into a tangle. It doesn’t work the way I expect it to.
What I generally want is...
XPkg - A Package Manager For Machine Configuration
Jan 23, 2020, 10:39 AM
Erica Sadun blogged recently about the trials and tribulations of upgrading a system with a long history of tooling on it.
(the link to that blog post seems to have vanished; I’m not sure if it’s been taken down or just moved, but it...
Datastore Views, Swift Packages, UI In Code
Jan 16, 2020, 8:23 AM
Bookish Development Diary, episode 5.
It’s been quiet around here over Christmas, and I cut myself a bit of slack and didn’t really do a lot last week, but I’m back to it now.
Pretty much the last decision I made before the holidays was...
Dec 17, 2019, 8:24 AM
Bookish Development Diary, episode 4.
A tale of how the last version of the Datastore was just right, but it turns out that the latest version is even righter.
As I mentioned in a previous post, I really enjoy the way an API evolves as...
Constant Keys (Sometimes It's The Little Things)
Dec 9, 2019, 8:39 AM
Bookish Development Diary, episode 3.
In which our intrepid developer disappears down a deep rabbit hole, in search of the cleanest and most idiomatic way to express string constants in Swift1. Because, you know, stuff…