Re: NSTableView calls setPlaceHolderString: for image cell
Re: NSTableView calls setPlaceHolderString: for image cell
- Subject: Re: NSTableView calls setPlaceHolderString: for image cell
- From: Corbin Dunn <email@hidden>
- Date: Tue, 29 Apr 2008 09:04:27 -0700
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 (email@hidden)
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:
This email sent to email@hidden