-[NSBrowser setReusesColumns:] broken?
-[NSBrowser setReusesColumns:] broken?
- Subject: -[NSBrowser setReusesColumns:] broken?
- From: James Bucanek <email@hidden>
- Date: Tue, 10 Aug 2010 19:36:27 -0700
Greetings,
I'm trying to implement an NSBrowser view using the legacy
(10.5) compatible delegate methods (i.e. not the 10.6 "item data
source" methods).
I'd very much like to use the reusesColumns property to recycle
my, rather complex, NSMatrix subclasses. However this property
appears to broken. I'm currently developing and testing under 10.6.
The first time my delegate receives
-browser:createRowsForColumn:inMatrix:, the matrix parameter is
correct and the column gets populated with data. When I select
another item in the first column, my delegate receives
-browser:createRowsForColumn:inMatrix: again, but this time the
matrix value is nil.
This makes no sense. Sending the NSBrowser object
-matrixInColumn: also returns nil.
Is this just broken?
TIA
P.S. I'd love to use the new 10.6 browser API, but it seems that
the new code doesn't use NSMatrix objects for each column;
instead using some kind of custom view that doesn't appear to be
customizable. Is that also correct?
--
James Bucanek
_______________________________________________
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