We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cc4a2f commit c6e866eCopy full SHA for c6e866e
README.md
@@ -22,7 +22,7 @@ Basic code to make it work:
22
let layoutManager = NSLayoutManager()
23
textStorage.addLayoutManager(layoutManager)
24
25
- let textContainer = NSTextContainer(containerSize: .zero)
+ let textContainer = NSTextContainer()
26
layoutManager.addTextContainer(textContainer)
27
28
let textView = NSTextView(frame: someFrame, textContainer: textContainer)
0 commit comments