简体   繁体   English

如何使用NSTextStorage配置NSTextView?

[英]How to configure a NSTextView with a NSTextStorage?

如何使用NSTextStorage存储NSTextView的信息?

Apparently each NSTextView comes with it's own NSTextStorage already. 显然,每个NSTextView都已经具有自己的NSTextStorage。 Just use the textStorage method to get the textStorage of the NSTextView 只需使用textStorage方法即可获取NSTextView的textStorage

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM