views:

1756

answers:

1

For iPhone game development, seems there are very like functions using CALayer and UIView, we can implement our spirit using CALayer or UIView , and animations are usable for them too. But for coding, there are many difference between CALayer and UIView like object methods and properties etc. So which is the better choice?

+2  A: 

Every UIView is layer-backed, so you can get a layer reference for any view. If you need it to have UIResponder characteristics (e.g., respond to events), you should probably use a UIView.

Ben Alpert