• 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 many different strings quickly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Drawing many different strings quickly
      • From: Ben <email@hidden>
References: 
 >Drawing many different strings quickly (From: Ben <email@hidden>)
 >Re: Drawing many different strings quickly (From: Quincey Morris <email@hidden>)
 >Re: Drawing many different strings quickly (From: Ben <email@hidden>)

  • Prev by Date: Re: How to get remote metadata
  • Next by Date: NSThread subclass get blocked on 'start' method call
  • Previous by thread: Re: Drawing many different strings quickly
  • Next by thread: Re: Drawing many different strings quickly
  • Index(es):
    • Date
    • Thread