NSLayoutManager with multiple NSTextContainers causes UITextViews to not be selectable/editable
问题 I am trying to achieve a multi page text editing layout, as in Pages, MS Word, ... . On OS X I can achieve this by creating one NSLayoutManager with one NSTextStorage for multiple NSTextViews. Each NSTextView has its own NSTextContainer. See below code for OS X. A simple example with text spreading between two NSTextViews: import Cocoa class ViewController: NSViewController { let layoutManager = NSLayoutManager() let textStorage = NSTextStorage(attributedString: NSAttributedString(string: