title: Widget "flip" behavior in Core Animation/Cocoa
body: <p>I'm trying to make a Card class that duplicates the behavior of Dashboard widgets in that you can put controls or images or whatever on two sides of the card and flip between them.  </p>
  
  <p>Layer backed views have a transform property, but altering that doesn't do what I would expect it to do (rotating the layer around the y axis folds it off to the left side).</p>
  
  <p>I was pointed to some undocumented features and an .h file named cgsprivate.h, but I'm wondering if there is an official way to do this?  This software would have to be shipped and I'd hate to see it fail later because the Apple guys pull it in 10.6.</p>
  
  <p>Anyone have any idea how to do this?  It's so weird to me that a simple widget thing would be so hard to do in Core Animation.</p>
  
  <p>Thanks in advance!</p>
  
  <p>EDIT:  I can accomplish this behavior with images that are on layers, but I don't know how to get more advanced controls/views/whatever on the layers.  The card example uses images.</p>