Re: NSTableView - Detecting when user has finished scrolling
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