• 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
NSTableView calls setPlaceHolderString: for image cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView calls setPlaceHolderString: for image cell


  • Subject: NSTableView calls setPlaceHolderString: for image cell
  • From: Ferhat Ayaz <email@hidden>
  • Date: Tue, 29 Apr 2008 11:49:10 +0200

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?

Thanks.

Ferhat





_______________________________________________

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


  • Follow-Ups:
    • Re: NSTableView calls setPlaceHolderString: for image cell
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: How can i connect to database?
  • Next by Date: Re: How can i connect to database?
  • Previous by thread: Re: How can i connect to database?
  • Next by thread: Re: NSTableView calls setPlaceHolderString: for image cell
  • Index(es):
    • Date
    • Thread