Design Element
Comment on "CoreAnimation Sample Code: ArtGallery"
by Alexander Rauchfuss — Dec 01
@Scott Stevenson
I haven't looked at CAScrollLayer closely, but I'm not sure where it would fit in this case. I guess I could load all the image layers in at once (rather than loading and unloading them on demand) and scroll through them. Is that what you had in mind?

Yes all of the layers are populated but their contents are not loaded.
I had in mind something like an NSTableview where the CALayer content was not set until it was visible.

Example Code

Here is a quick example I threw together. Buggy as heck but it was kinda fun trying to make it work.
Back to "CoreAnimation Sample Code: ArtGallery"
Design Element

Copyright © Scott Stevenson 2004-2015