TextKit Overview

TextKit goes back to the NeXT era, before Mac OS X was a thing. After the relatively new Cocoa frameworks for Mac app programming were introduced and introduced the “Cocoa Text System” title, iOS and UIKit stuck with “TextKit”, and in 2021 TextKit 2 returned.

This revolves around everything related to accepting textual user input on the Mac:

Even NSTextFields are just reusing a shared NSTextView, called the window’s field editor. It’s everywhere.

May 8 2024

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.