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.