Skip navigation.
 
mlRe: NSTableView calls setPlaceHolderString: for image cell
FROM : Corbin Dunn
DATE : Tue Apr 29 18:04:27 2008

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?

Related mailsAuthorDate
mlNSTableView calls setPlaceHolderString: for image cell Ferhat Ayaz Apr 29, 11:49
mlRe: NSTableView calls setPlaceHolderString: for image cell Corbin Dunn Apr 29, 18:04