Collective Effort

It has been three and a half year that I get the occasional notification from GitHub, about someone asking Facebook to add Swift Support to Infer. They grow up so fast!

Writing a commit message with Swift

Git commits characters waiting in line to ride a roller coaster

In a previous blog post, we covered how to define a custom editor to write your commit messages in. The example was deliberately simple and static, but we covered that an editor could be practically anything. Why not create our own editor in Swift then?

Continue reading

Using a custom editor with Git

I already mentioned this tiny side project that I’ve been playing with a couple of time before. I learned a lot while working on it, so I realized I could share some of this knowledge around here. Let’s start with customizing the editor to use to write a commit message. This is probably obvious, but most of this blog post will talk about running git commands from your shell. If you’re not a command line user and prefer using some tool like Fork or Tower don’t be scared, it should be quite easy to follow.

Continue reading

Using swift-format from a docker container

Docker and Swift logos

There is a tiny command line tool as part of the Swift toolchains called swift-format. It’s still a work in progress, but a few days ago I wanted to try it on an existing project, for fun. It’s very simple to use, as the documentation suggests:

Continue reading

How to archive a macOS application containing multiple targets

I recently reached a point with Commitment where I’m actually using it daily, which both feels great and terrible. Great because, well, it’s my own app, and terrible because I see all the quirks I need to fix. The last two sessions of work have been spent setting up Sparkle to auto-update the app. As I’m learning (and struggling) quite a bit, I figured I should write about it.

Continue reading