• 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: How to support larger NSView hierarchy?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to support larger NSView hierarchy?


  • Subject: Re: How to support larger NSView hierarchy?
  • From: Quincey Morris <email@hidden>
  • Date: Mon, 27 Feb 2012 22:21:36 -0800

On Feb 27, 2012, at 20:46 , Graham Cox wrote:

> Jeez.

Indeed. Especially as it's usually taken as a given that large numbers of NSViews aren't going to perform well. Trying to make the scenario work might be quixotic at best.

However, two thoughts did spring to mind:

1. It might be easier (and faster) to just hide the subviews as they scroll out of the visibleRect, and show them as they scroll in. I'd *imagine* that lots of hidden views wouldn't be a big problem for drawing.

2. If the views are arranged linearly, which seems like one possible interpretation of the OP's scenario description, then it might be possible to use the new view-based NSTableView, since that configuration basically caches a small number of actual "cell" views even if the total number of cells is huge.


_______________________________________________

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: How to support larger NSView hierarchy?
      • From: Steve Christensen <email@hidden>
References: 
 >How to support larger NSView hierarchy? (From: Keith Knauber <email@hidden>)
 >Re: How to support larger NSView hierarchy? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Round corners of borderless NSWindow without set it transparent
  • Next by Date: Re: Round corners of borderless NSWindow without set it transparent
  • Previous by thread: Re: How to support larger NSView hierarchy?
  • Next by thread: Re: How to support larger NSView hierarchy?
  • Index(es):
    • Date
    • Thread