【问题标题】:How to configure a NSTextView with a NSTextStorage?如何使用 NSTextStorage 配置 NSTextView?
【发布时间】:2011-01-16 12:04:22
【问题描述】:

如何用 NSTextStorage 存储 NSTextView 的信息?

【问题讨论】:

    标签: objective-c cocoa nstextview nstextstorage


    【解决方案1】:

    【讨论】:

    • 谢谢,但是我已经弄清楚了如何使用 NSTextView 的 textStorage 来做到这一点。
    【解决方案2】:

    显然每个 NSTextView 都带有它自己的 NSTextStorage。只需使用 textStorage 方法获取 NSTextView 的 textStorage

    【讨论】:

    • 为此我不断收到nil
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多