Live data from Hacker News

Nerdy internals of an Apple text editor

papereditor.app

21–30 of 93 posts

Re: Nerdy internals of an Apple text editor

#25

It's a real shame that Apple doesn't release the source to a recent version of TextEdit. Given its structure (more or less just a stock objects from the API) it would be super educational for anyone who wants to use NSTextView et al.

For the educational purpose of modern TextKit and NSTextView-like implementation, you can check out https://github.com/krzyzanowskim/STTextView that is modern re-implementation of the text view.

Re: Nerdy internals of an Apple text editor

#29

The author did a great job using images to convey the various concerns each piece of code in the API is responsible for. Also super great detail in the writing. Nice work! This feels like a technical-first article that also happens to generate goodwill for the product, as opposed to a marketing-first technical article that serves up the bare minimum of insights.

[deleted]
Post reply on HN