logoalt Hacker News

kenferryyesterday at 5:46 PM1 replyview on HN

You’re confusing iOS and Mac OS here.

The Mac never used WebKit for NSTextField rendering. When iOS was first written, WebKit was used as the text renderer everywhere initially, including in UIKit controls (the “sweet solution”). This proved to be too heavyweight / cumbersome and the coretext/appkit text rendering approach was brought over.


Replies

Klonoartoday at 12:48 AM

Also NSAttributedString would invoke WebKit under the hood if you went to render an HTML string.