NSBrowser's selectRow: inColumn: delegate
NSBrowser's selectRow: inColumn: delegate
- Subject: NSBrowser's selectRow: inColumn: delegate
- From: "Andrew Cooper" <email@hidden>
- Date: Tue, 30 May 2006 22:34:04 -0500
i've seen brief mention of this in places, but are there known issues with the
- (BOOL) browser:(NSBrowser *)sender selectRow:(int)row inColumn:(int)column
delegate method for NSBrowser?
I currently have this implementation in my delegate class (content
edited for length):
- (BOOL)browser:(NSBrowser *)sender selectRow:(int)row inColumn:(int)column
{
NSLog(@"Selecting row %d and col %d",row,column);
return YES;
}
This method never prints anything and none of the other logic in the
real implementation ever happens, so it doesn't seem like the method
is being called as it should.
I also have the following delegate methods implemented, all of which do work:
- (void)browser:(NSBrowser *)browser willDisplayCell:(id)cell
atRow:(int)row column:(int)col
- (int)browser:(NSBrowser *)browser numberOfRowsInColumn:(int)col
- (NSString *)browser:(NSBrowser *)sender titleOfColumn:(int)col
Hopefully there's nothing obvious in this that i'm missing, as I've
been beating my head over this all day.
- Andrew Cooper -
_______________________________________________
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