Re: Problem subclassing a NSCell in a NSTableView
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