• 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
setting the cell class for NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting the cell class for NSTextField


  • Subject: setting the cell class for NSTextField
  • From: Arthur Clemens <email@hidden>
  • Date: Sat, 14 Sep 2002 17:31:11 +0200

I'm trying to set a custom cell class for every NSTextField in my
application, but thus far I get no result.
From the docs I understand I should use
+ (void)setCellClass:(Class)class

but when I use this with
[NSTextField
setCellClass:(Class)@"TextFieldCellWithContextualMenu"];
it does not work, although I don't get an error, and a NSLog gives me
cell class = TextFieldCellWithContextualMenu
so that seems alright.

Any ideas what I'm doing wrong?

Arthur Clemens
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >showing a checkbox and a pulldown-menu in a NSTableView (From: Philipp Seibel <email@hidden>)

  • Prev by Date: Re: Object Copying Question
  • Next by Date: Get image location of a mouse click
  • Previous by thread: showing a checkbox and a pulldown-menu in a NSTableView
  • Next by thread: Open firmware to BootX, how?
  • Index(es):
    • Date
    • Thread