开发者

ImageAndTextCell editing problem

I got ImageAndTextCell and I'm using it on a NSOutlineView. When I double click a cell in order to edit it, I get the following error:

2开发者_开发知识库010-12-16 05:31:54.399 MyApp[26823:a0f] -[NSCFString representedObject]: unrecognized selector sent to instance 0xa0aff968

Does anyone know a solution for that?


Found the solution! Just remove the method

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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜