我在 NSTableView 中使用多个 NSTextView。每个 textView 都添加到表格视图的单元格上。但是当我尝试选择 textView 时出现问题。有时,光标很容易出现在 textView 上,但大多数时候,光标不会在单击时出现在 textView 上。单击 textView 时立即触发与 textView 关联的委托:
- (void)textViewDidChangeSelection:(NSNotification *)aNotification {
}
如何在单击时将光标控制设置为选定的 textView ..???
请指导我,我是mac开发的新手...