Posts from May 2024
Declarative Text Kit: Expression and Evaluation
To declare changes in the DSL, we need a vocabulary of expressions and sort of a grammar. With Result Builders, this is surprisingly simple.
Swift Package: FastSpring In-App Purchase
I published a Swift Package to embed a FastSpring-powered store within my apps.
Declarative Text Kit: Inserting Strings and Lines With a Result Builder
Swift Result Builders make the declarative Text Kit API quite nice to work with once you know what you want to do. Here’s how I got over the initial humps.
Some habits are hard to break. It is easier if you have meaningful alternatives.
Declarative Text Kit: Sketch of an API
I was fed up with writing long procedures to perform markup changes on the fly. This post contains an API that looks like something I would like to use.
Use and Then Reduce Open Source Dependencies
Dependencies make you quick. Dependencies also slow you down.
As the saying goes, if the title of a post is a question, the answer is “no”. So, do you, or don’t you need a Zettelkasten in your life?