Posts tagged “result-builder”
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.
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.