Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

fernandovalente

macrumors 6502
Original poster
Hey,

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:

2010-12-16 05:31:54.399 MyApp[26823:a0f] -[NSCFString representedObject]: unrecognized selector sent to instance 0xa0aff968

Does anyone know a solution for that?
 
Post some related code. Sounds like a memory management issue. Or set a breakpoint on representedObject and see what's happening.
 
Post some related code. Sounds like a memory management issue. Or set a breakpoint on representedObject and see what's happening.

Nevermind, I found a solution. Just remove the method

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

and it will work. Thanks for your reply 🙂
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.