RE: mastodon.social/@stroughtonsmi

I had some TextKit issues that started when TextKit 2 was introduced. I thought switching to TextKit 2 might help but it didn’t. Many months later I finally realized I was calling layoutManager somewhere else, and that meant I was not actually using TextKit 2 even though I’d initialized everything correctly.

I don’t think this is great API design. If I’m using TextKit 2 and my app does something that’s only available in TextKit 1 the app should crash. Or at least log a scary warning!

0

If you have a fediverse account, you can quote this note from your own instance. Search https://xoxo.zone/users/robotspacer/statuses/116029095719103469 on your instance and quote it. (Note that quoting is not supported in Mastodon.)