TLDR Β· PROGRAMMING, DESIGN & DATA SCIENCE
NERDY INTERNALS OF AN APPLE TEXT EDITOR π¨π»π§
Summary from the TLDR newsletter
This article discusses engineering details behind Paper, a text editor for Apple platforms. While Paper is built on the older TextKit 1 framework, all of the concepts, abstractions, and principles discussed in the article still apply to TextKit 2, either unchanged or under a better API. The article covers the TextView class, syntax highlighting, styling, typing, performance, sharing, and much more.