• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Outlet to NSBrowser, and cell color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Outlet to NSBrowser, and cell color


  • Subject: Outlet to NSBrowser, and cell color
  • From: Gordon Apple <email@hidden>
  • Date: Mon, 08 Oct 2007 14:36:00 -0500

    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?


_______________________________________________

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

  • Prev by Date: Re: Saving to application support folder.
  • Next by Date: Re: NSButton
  • Previous by thread: Re: Saving to application support folder.
  • Next by thread: NSTableView error message
  • Index(es):
    • Date
    • Thread