• 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: Does NSOutlineView's highlightedTableColumn work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does NSOutlineView's highlightedTableColumn work?


  • Subject: Re: Does NSOutlineView's highlightedTableColumn work?
  • From: David Catmull <email@hidden>
  • Date: Mon, 04 Apr 2016 11:50:15 -0600

> Are you sure a (rather small) sort indicator didn't appear in the column's header?

No, nothing appeared there either.

>> I’m trying to use the column highlight to indicate a view state unrelated to sorting…
>
> Don't do that.  Don't try to hijack features intended for one semantic for another.

I don't think the intended use of highlightedColumn is sufficiently clear in the docs. I'll submit feedback to Apple about that.

> If you're using a view-based outline view, try using a custom table row view that overrides -drawBackgroundInRect:.

It seems like that would only give me a background in non empty rows. My next idea was to subclass NSOutlineView and override drawBackgroundInRect on that.
_______________________________________________

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: Does NSOutlineView's highlightedTableColumn work?
      • From: Jerry Krinock <email@hidden>
References: 
 >Does NSOutlineView's highlightedTableColumn work? (From: David Catmull <email@hidden>)
 >Re: Does NSOutlineView's highlightedTableColumn work? (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: NSFileWrapper serializedRepresentation
  • Next by Date: Re: NSFileWrapper serializedRepresentation
  • Previous by thread: Re: Does NSOutlineView's highlightedTableColumn work?
  • Next by thread: Re: Does NSOutlineView's highlightedTableColumn work?
  • Index(es):
    • Date
    • Thread