• 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: Problem subclassing a NSCell in a NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem subclassing a NSCell in a NSTableView


  • Subject: Re: Problem subclassing a NSCell in a NSTableView
  • From: Alexander Lamb <email@hidden>
  • Date: Wed, 31 May 2006 14:28:25 +0200

Actually, the subclass is created but the following method is never called:

- (void)highlight:(BOOL)flag withFrame:(NSRect)cellFrame inView: (NSView *)controlView
{
[super highlight:NO withFrame:cellFrame inView:controlView];
}


I was hoping to override it as seen here to stop the cells highlighting.
--
Alexander Lamb
email@hidden



On May 31, 2006, at 1:28 PM, Alexander Lamb wrote:

Hello,

Using an NSTableView and dragging from the IB Palette a NSTextFieldCell, I hoped I would be able to sublass it (Custom Class).
Although I created the class and implemented one or two methods... they are never called. The column also uses a binding to a controller (if this has anything to do with it).


Anyhint why I couldn't use a subclass?

Thanks,

Alex
--
Alexander Lamb
email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Problem subclassing a NSCell in a NSTableView (solution)
      • From: Alexander Lamb <email@hidden>
References: 
 >Problem subclassing a NSCell in a NSTableView (From: Alexander Lamb <email@hidden>)

  • Prev by Date: Re: Command-click table in background app
  • Next by Date: Re: Command-click table in background app
  • Previous by thread: Problem subclassing a NSCell in a NSTableView
  • Next by thread: Re: Problem subclassing a NSCell in a NSTableView (solution)
  • Index(es):
    • Date
    • Thread