【发布时间】:2010-11-23 22:34:32
【问题描述】:
我想使用 Objective-C 中的 NSLog 函数打印出 NSTextView 的文本内容。我到目前为止的代码是:
NSString *s=[updateSource textStorage];
NSLog(s);
我得到的只是错误:
[NSConcreteTextStorage getCharacters:range:]: selector not recognized [self = 0x43f4b0]
【问题讨论】:
标签: objective-c macos nsstring nstextview