Hmm..NSTableView doesn't call that method. Chances are, something else is tickling it. We need more information to really help you out.
Break on -setPlaceHolderString:, or something else lower level (like  
NSLog), get a backtrace (bt in gdb). Post that here.
corbin

On Apr 29, 2008, at 2:49 AM, Ferhat Ayaz wrote:
Hi,

I wrote a custom cell (subclass of NSActionCell) and called [super initWithImage: nil] in my initialization method. I have set my custom cell to use with a NSTableView. However, in random cases I get this error message
*** -[MyBlockCell setPlaceholderString:]: unrecognized selector sent  
to instance 0x13c950
setPlaceholderString: is a mthod of NSTextFieldCell. My cell is  
derived from NSActionCell. Have I to subclass NSTextFieldCell it use  
it in a NSTableView? any idea?
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to