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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to