• 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, 2mln rows, looks bad.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView, 2mln rows, looks bad.


  • Subject: Re: NSTableView, 2mln rows, looks bad.
  • From: Corbin Dunn <email@hidden>
  • Date: Mon, 04 May 2009 16:21:31 -0700


On May 4, 2009, at 1:46 PM, Тимофей Даньшин wrote:

Hello.
I need to have a tableView with about 2 million rows, and that figure may actually be bigger. But the table looks awfully bad in that case: you get artifacts when scrolling, the text in the rows does not coincide with the alternate bluish and white stripes, and if you click on a row, you get the action from another row, not the one you see. Is it the problem of my design (i.e. i may have done anything wrong while writing that),

Yes -- you should limit your results to some more reasonable number; 2 million rows is not reasonable. For a comparison UI, search results in Finder/spotlight are limited with a "More results..." button to see more.


or is it a flaw of NSTableView? Are there any workarounds?

Yes -- it is due to a rounding error in tableview. It should be fixed with the 64-bit version of your app.


corbin


_______________________________________________

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: 
 >NSTableView, 2mln rows, looks bad. (From: Тимофей Даньшин <email@hidden>)

  • Prev by Date: Re: NSTableView, 2mln rows, looks bad.
  • Next by Date: Re: Integer as key in NSMutableDictionary
  • Previous by thread: Re: NSTableView, 2mln rows, looks bad.
  • Next by thread: Re: NSTableView, 2mln rows, looks bad.
  • Index(es):
    • Date
    • Thread