|
|
|
|
|
by colbyn
311 days ago
|
|
Oh hey good to see some more literature on TextKit2. I remember diving into it when I wrote my proof of concept markdown renderer: https://github.com/SuperSwiftMarkup/SuperSwiftMarkdownProtot... It’s a good example of what else you can do with TextKit2, beyond plain text rendering. Here, I can draw text layout fragments in a core graphics context and use typographic information to also render markdown specific graphics in the background or foreground such as markdown tables. One day I’d love to experiment with a markdown centric spread sheet app. At the time there was so little online info that I had to figure out everything on my own (and no chatbots didn’t have a clue about TextKit2), but STTextView was a great reference. Overall his open source work was very much appreciated. (I should probably say as much in the read me.) That experiment was also a ton of work that ultimately didn’t go anywhere. Most people would rather just use a relatively subpar embedded browser (i.e. web view). |
|