I just watched the WWDC22 video: "What's new in Textkit and text views" but don't see a resource link for the sample code for TextKitAndTextViewSampleApp. Does anyone have the link for this sample code?
Where is the sample code for TextKitAndTextViewSampleApp?
Here you go:
https://developer.apple.com/documentation/uikit/textkit/enriching_your_text_in_text_views
There's not much meat in there, unfortunately, and the lists are very buggy (on macOS, try clicking at the end of a line).
It also seems there's a lot of stuff not yet available in the first Ventura/Xcode 14 beta. For instance, the NS/UITextView constructor init(usingTextLayoutManager:) seems to be missing.