• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Core Animation and interaction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Animation and interaction


  • Subject: Re: Core Animation and interaction
  • From: Tom <email@hidden>
  • Date: Tue, 16 Mar 2010 13:43:48 +0100

>
> 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 (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

References: 
 >Core Animation and interaction (From: john fogg <email@hidden>)

  • Prev by Date: Core Animation and interaction
  • Next by Date: Little HELP with a fetch Request in Core Data
  • Previous by thread: Core Animation and interaction
  • Next by thread: Re: Core Animation and interaction
  • Index(es):
    • Date
    • Thread