Theocacao
Leopard
Design Element
Comment on "CoreAnimation Sample Code: ArtGallery"
by Scott Stevenson — Nov 30
@Alexander Rauchfuss: I am kind of surprised that you did not use constraints nor CAScrollLayer

The constraint layout manager is very nice, but this sort of layout might be a better starting point because it's what people are used to with NSView. Another sample might use the constraint-based layout manager.

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?
Back to "CoreAnimation Sample Code: ArtGallery"
Design Element

Copyright © Scott Stevenson 2004-2015