Re: iTableView and subclassing NSTableView
Re: iTableView and subclassing NSTableView
- Subject: Re: iTableView and subclassing NSTableView
- From: Corbin Dunn <email@hidden>
- Date: Mon, 16 Feb 2009 08:21:42 -0800
This sample is very outdated.
It sounds like you are trying to use a source list but targeting the
Leopard (10.5) SDK. Is that correct? I'm assuming this because the
cell doesn't implement:
- (NSUInteger)hitTestForEvent:(NSEvent *)event inRect:(NSRect)
cellFrame ofView:(NSView *)controlView;
which would cause the problems you see on Leopard. However, if you are
using Leopard, just set the source list highlight style in the nib.
corbin
On Feb 13, 2009, at 6:31 PM, Stephen Zyszkiewicz wrote:
I am trying to use Matt Gemmell's iTableView (Source List and
Colored Checkboxes):
http://mattgemmell.com/source
It includes a SourceListTableView subclass of NSTableView.
The problem is that the checkboxes within the table are not being
unchecked/checked.
Do I need to implement a keydown event in SourceListTableView? If
so, how do I do this so that the proper checkboxes are checked/
unchecked?
_______________________________________________
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