开发者

How to configure a NSTextView with a NSTextStorage?

开发者 https://www.devze.com 2023-02-04 06:44 出处:网络
How do you store the NSTextView\'s information 开发者_Python百科with an NSTextStorage?See Assembling the Text System by Hand in the Cocoa Text Architecture Guide.Apparently each NSTextView comes with

How do you store the NSTextView's information 开发者_Python百科with an NSTextStorage?


See Assembling the Text System by Hand in the Cocoa Text Architecture Guide.


Apparently each NSTextView comes with it's own NSTextStorage already. Just use the textStorage method to get the textStorage of the NSTextView

0

精彩评论

暂无评论...
验证码 换一张
取 消