• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableView calls setPlaceHolderString: for image cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSTableView calls setPlaceHolderString: for image cell (From: Ferhat Ayaz <email@hidden>)

  • Prev by Date: Counting instances in Core Data
  • Next by Date: Re: Counting instances in Core Data
  • Previous by thread: NSTableView calls setPlaceHolderString: for image cell
  • Next by thread: Immediate memory release
  • Index(es):
    • Date
    • Thread