• 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: NSTableView - Detecting when user has finished scrolling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView - Detecting when user has finished scrolling


  • Subject: Re: NSTableView - Detecting when user has finished scrolling
  • From: Graham Cox <email@hidden>
  • Date: Fri, 02 Oct 2015 10:08:51 +1000

> On 1 Oct 2015, at 5:04 pm, Peter Hudson <email@hidden> wrote:
>
> Legacy code I’m afraid Graham - written some years ago.
> I simply want it to look better for now while we're getting on with the re-write.
> The new version indeed uses view-based table views - and works a lot better.


OK, so you’re implying it’s a cell-based table view. That should be no problem - there are delegate methods that allow you to draw the row background (I don’t have docs to hand but I’ve definitely done this myself). Never override -drawRect: on a table view, there are better solutions for your task.

That still leaves calculating which rows are separators taking too long, which seems odd to me. Legacy or not, that shouldn’t be taking significant time.

—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


References: 
 >Re: NSTableView - Detecting when user has finished scrolling (From: Peter Hudson <email@hidden>)

  • Prev by Date: Re: Mac OSX 10.11 and XCode
  • Next by Date: How to override properties
  • Previous by thread: Re: NSTableView - Detecting when user has finished scrolling
  • Next by thread: How to install 10.11 ?
  • Index(es):
    • Date
    • Thread