Outlet to NSBrowser, and cell color

  • I am using a subclass of NSTreeController with a NSBrowser.  I've run
    into two problems:

    1. Even with the browser delegate set to the controller and
    "numberOfRowsInColumn" and "willDisplayCell" methods defined and the latter
    being called, there appears to be no way to set the text color for the cell.
    Apparently, NSBrowserCell does a Henry Ford and makes is so you can have any
    color you want as long as it's black.  (I've got this working properly in
    NSTableView and NSOutlineView.)  Is there any way to do this?

    2.  I would like to set the NSBrowser column headers, for which purpose I
    added an outlet to the controller, "IBOutlet NSBrowser *browserView;".  No
    way, Jose.  Interface builder simply refuses to allow me to connect it.
    Yes, I've parsed it, checked spelling, etc.  IB will not highlight the
    browser (inside a tab view), no matter what, when trying to connect.  I
    figure it's not worth a bug report this close to 10.4.11 and 10.5.  Has
    anyone else run into this?
previous month october 2007 next month
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Go to today