Re: Drawing many different strings quickly
Re: Drawing many different strings quickly
- Subject: Re: Drawing many different strings quickly
- From: Jens Alfke <email@hidden>
- Date: Mon, 28 Sep 2015 09:08:24 -0700
> On Sep 28, 2015, at 1:41 AM, Ben <email@hidden> wrote:
>
> When scrolling vertically, there could be up to 100,000 strings to be drawn, horizontally, much fewer, less than 10,000. I'm assuming a maximum grid size of 100 columns and 10k rows. This should be a worst-case assumption.
As various people have said, there is no reason to draw any text that’s outside the dirtyRect passed to your -drawRect: call. So you never need to draw 100k strings at once. I’m confused by your statements in this thread — you do say that you abide by the dirtyRect, so why are you drawing so many strings?
> Unfortunately NSTableView doesn't offer the type of interactions I want. I have filed a radar requesting enhancements.
It’s very customizable. What’s missing for you?
—Jens
_______________________________________________
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