Я впервые использую NSTextView
, и мне трудно понять, как это работает, у меня есть такая строка:
[[commandHistoryTextView textStorage] appendString:outputString];
и я получаю эту ошибку:
2012-02-24 12:40:52.971 binoclean[37863:703] Exception detected while handling key input.
2012-02-24 12:40:52.971 binoclean[37863:703] -[NSConcreteTextStorage appendString:]: unrecognized selector sent to instance 0x2cca10
2012-02-24 12:40:52.975 binoclean[37863:703] (
0 CoreFoundation 0x9bf55b67 __raiseError + 231
1 libobjc.A.dylib 0x9b5c8149 objc_exception_throw + 155
2 CoreFoundation 0x9bf59170 -[NSObject doesNotRecognizeSelector:] + 256
3 CoreFoundation 0x9bea7da9 ___forwarding___ + 457
...
Любые комментарии приветствуются, очень.