views:

122

answers:

2

Looking for help on how to have a CALayer flip like a UIView using CATransform3D.

I have seen some articles but I'm having a hard time understanding the 4D and 3D coordinates system, model and references. I also read apple's documentation, but I'm not understanding it either.

My goal is to flip a card located within a layer within a view. I know I could use uiview to do the same thing, but i would rather use a calayer

Thanks in advance for your help.

A: 

Drew McCormack provides code for just such an animation here, based on previous work by Mike Lee. While he bases his flipping around an NSView, the actual animation is performed on a CALayer generated from the contents of the view. The few view-related components of his implementation can be replaced by pure layers in your case.

Brad Larson
Seems that the site you provided is down.
Ole Media
@Ole - He's having issues with his hosting provider right now. Try back a little later.
Brad Larson
A: 

This link appears to be dead now.

Robert