• 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: Drawing custom contiguous selection highlight in view-based NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing custom contiguous selection highlight in view-based NSOutlineView


  • Subject: Re: Drawing custom contiguous selection highlight in view-based NSOutlineView
  • From: Graham Cox <email@hidden>
  • Date: Thu, 05 Jun 2014 23:03:07 +1000

On 5 Jun 2014, at 7:42 pm, Michael Starke <email@hidden> wrote:

> Take a look at the tool you daily use :) Xcode has continuous background gradients in it's source-list style OutlineView


Good call :) well, that shows exactly what I'm talking about... but also suggests that it isn't view-based but cell based.

BTW, I tried overriding the -highlightSelectionInClipRect: method but it isn't called at all for a view-based table. I also tried a hack where my custom row view called back into the superview (the table view) to draw a contiguous highlight but I couldn't get that to work properly, because it messes fairly substantially with the drawing order.

Stumped.

--Graham



_______________________________________________

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: Drawing custom contiguous selection highlight in view-based NSOutlineView
      • From: Jonathan Mitchell <email@hidden>
References: 
 >Drawing custom contiguous selection highlight in view-based NSOutlineView (From: Graham Cox <email@hidden>)
 >Re: Drawing custom contiguous selection highlight in view-based NSOutlineView (From: Lee Ann Rucker <email@hidden>)
 >Re: Drawing custom contiguous selection highlight in view-based NSOutlineView (From: Graham Cox <email@hidden>)
 >Re: Drawing custom contiguous selection highlight in view-based NSOutlineView (From: Michael Starke <email@hidden>)

  • Prev by Date: Re: Drawing custom contiguous selection highlight in view-based NSOutlineView
  • Next by Date: Re: viewDidLoad and KVO
  • Previous by thread: Re: Drawing custom contiguous selection highlight in view-based NSOutlineView
  • Next by thread: Re: Drawing custom contiguous selection highlight in view-based NSOutlineView
  • Index(es):
    • Date
    • Thread