> > So every photo needs to respond to mouse events. Do I make every photo > into its own view? Or are views too expensive to create? I want to > easily support 100+ photos or more. (I will downsample the images for > performance.) >
In my experience using many views for similar functionality drastically decreased application performance. You can implement single view with custom drawing if you choose this approach. > Photos need to be in layers as well so I can change the stacking > order. Do I use CoreAnimation for this? > > You can definetly use CA for this (you can use zPosition for layering). You can represent each photo in a separate layer so you can move it arround as needed. You can also group layers if needed. Check Apple's documentation on CA, I also recommend Bill Dudley's Core Animation book from pragmatic programmers. Tom _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com