NSBrowser is asking for wrong column
NSBrowser is asking for wrong column
- Subject: NSBrowser is asking for wrong column
- From: Sam Stigler <email@hidden>
- Date: Wed, 30 May 2007 19:13:54 +1000
Hi,
I'm almost done implementing my first NSBrowser delegate (and boy is
it complex), but I'm running into a strange problem with the
browser:willDisplayCell:atRow:column: method: The first column
(column 0) will load fine, but when I click on an a row in column 0
browser:willDisplayCell:atRow:column: will get called again, again
asking for a row in column 0 (more specifically, row 0, column 1;
even though I clicked on row 4). When the string is returned, it is
actually populated in row 0, column 1 (the second column). The count
method appears to be working okay for column 1, although I haven't
yet implemented it for any column greater than 1 because I'm still in
the debug stage. Still, I'd think that wouldn't matter given that
all the browser should need information about when I click a row in
column 0 is column 1. Am I right about this? Does anyone know what
I could be doing wrong here?
Thanks,
Sam
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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