• 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
Re: NSBrowser column titles disappear when scrolled [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBrowser column titles disappear when scrolled [SOLVED]


  • Subject: Re: NSBrowser column titles disappear when scrolled [SOLVED]
  • From: Matt Neuburg <email@hidden>
  • Date: Fri, 09 Sep 2011 13:03:23 -0700

I do hope you're filing bugs on all of this! m.

On Tue, 06 Sep 2011 06:30:33 -0400, Bill Cheeseman <email@hidden> said:
>
>The solution is to set the "Titled" checkbox in Interface Builder instead of calling -setTitled: in -awakeFromNib. Surely this is a bug in NSBrowser, and it must have been around since Jaguar or earlier.
>
>I also notice that setting "Titled" in Interface Builder causes "Separators" to be checked when you close the Interface Builder editor and then reopen it. It isn't nice to have Interface Builder automatically changing settings behind my back like this. Also, if I call -setSeparatesColumns: along with -setTitled in -awakeFromNib instead of using Interface Builder, the column titles still don't work right. So this is clearly a case of Interface Builder settings working when the corresponding methods do not work correctly. To add to the mystery, the documentation for -setSeparatesColumns: says its value "is ignored if -isTitled: does not return no." The double negative must have confused the author of that sentence, because the value of YES does seem to be required (at least in Interface Builder) for column titles to work correctly.


--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook_______________________________________________

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

  • Follow-Ups:
    • Re: NSBrowser column titles disappear when scrolled [SOLVED]
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: How to write song tags with iTunes and Scripting Bridge
  • Next by Date: Re: NSBrowser column titles disappear when scrolled [SOLVED]
  • Previous by thread: Re: Introductions to OOP? [was: Re: Large over 100K pixel high ruler scroll view]
  • Next by thread: Re: NSBrowser column titles disappear when scrolled [SOLVED]
  • Index(es):
    • Date
    • Thread