Objective c ImageAndTextCell编辑问题

Objective c ImageAndTextCell编辑问题,objective-c,cocoa,nsoutlineview,Objective C,Cocoa,Nsoutlineview,我有ImageAndTextCell,我正在NSOutlineView上使用它。双击单元格进行编辑时,出现以下错误: 2010-12-16 05:31:54.399 MyApp[26823:a0f]-[NSCFString representedObject]:发送到实例0xa0aff968的无法识别的选择器 有人知道解决这个问题的办法吗 找到了解决方案!只需删除该方法 - (NSUInteger)hitTestForEvent:(NSEvent *)event inRect:(NSRect)c

我有ImageAndTextCell,我正在NSOutlineView上使用它。双击单元格进行编辑时,出现以下错误:

2010-12-16 05:31:54.399 MyApp[26823:a0f]-[NSCFString representedObject]:发送到实例0xa0aff968的无法识别的选择器


有人知道解决这个问题的办法吗

找到了解决方案!只需删除该方法

- (NSUInteger)hitTestForEvent:(NSEvent *)event inRect:(NSRect)cellFrame ofView:(NSView *)controlView