CALayer drawing efficiency
CALayer drawing efficiency
- Subject: CALayer drawing efficiency
- From: Martin Hewitson <email@hidden>
- Date: Mon, 14 Mar 2011 06:33:07 +0100
Dear list,
I'm working on an app which will show a grid of CALayers (a few hundred in total), each layer is constrained so that its size scales up and down with the super layer. The super layer is then hosted by a view and resizes with the view. Each of the grid layers then has sublayers showing text. The problem is that resizing the main window is very slow due to the resizing of all the small layers. I was wondering if anyone has any hints or tips for dealing with large numbers of layers and making it faster to draw?
Many thanks,
Martin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Hewitson
Albert-Einstein-Institut
Max-Planck-Institut fuer
Gravitationsphysik und Universitaet Hannover
Callinstr. 38, 30167 Hannover, Germany
Tel: +49-511-762-17121, Fax: +49-511-762-5861
E-Mail: email@hidden
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
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