Re: Subclass NSTableView
Re: Subclass NSTableView
- Subject: Re: Subclass NSTableView
- From: Stephane Sudre <email@hidden>
- Date: Mon, 22 Dec 2003 17:51:45 +0100
On Monday, December 22, 2003, at 04:12 PM, J Nozzi wrote:
I've subclassed NSTableView to override textDidEndEditing: in order
to intercept the return key as 'end editing'.
I was wondering if I had to modify the delegate method signatures at
all:
- (id)tableView:(NSTableView *)tableView
objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row
In other words, should NSTableView become MyTableView? Since I'm
changing the behavior, I wouldn't want to send the delegate an
NSTableView since the textDidEndEditing: acts differently.
Forever Missing the Obvious,
Instead of re-inventing the wheel, download the OmniAppKit. They have
an implementation of what you want to do.
_______________________________________________
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.