How to link multiple text views to a single text storage in TextKit 2

23 views Asked by At

In TextKit 1 we have the method NSTextStorage.addLayoutManager(_:) that allows to show the same text in multiple text views. This method exists with NSLayoutManager but not with NsTextLayoutManager.

Is there a way to achieve the same thing with TextKit 2?

0

There are 0 answers