• 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: Where to noteHeightOfRowsWithIndexesChanged
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where to noteHeightOfRowsWithIndexesChanged


  • Subject: Re: Where to noteHeightOfRowsWithIndexesChanged
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 15 Jun 2010 10:55:43 -0700

On Jun 15, 2010, at 10:51 AM, Jerry Krinock wrote:

>> There are usually about 200,000 rows, so calculating the actual height for all rows is not an option (since it takes about 19 seconds).
>
> you may have exceeded the capabilities of NSTableView's variable heights

I agree. Variable row heights were a late addition to NSTableView (added in 10.3 or 10.4?) and I wouldn’t be surprised if they’re not optimized for huge numbers of rows.

You might want to reconsider using fixed-height rows, or break your table into multiple pages.

—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: Where to noteHeightOfRowsWithIndexesChanged
      • From: Corbin Dunn <email@hidden>
References: 
 >Where to noteHeightOfRowsWithIndexesChanged (From: Tony P <email@hidden>)
 >Re: Where to noteHeightOfRowsWithIndexesChanged (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Where to noteHeightOfRowsWithIndexesChanged
  • Next by Date: Re: Where to noteHeightOfRowsWithIndexesChanged
  • Previous by thread: Re: Where to noteHeightOfRowsWithIndexesChanged
  • Next by thread: Re: Where to noteHeightOfRowsWithIndexesChanged
  • Index(es):
    • Date
    • Thread