PDA

View Full Version : Core Animation Page Curl Effect?




Blakeasd
May 26, 2011, 07:37 PM
Hello,
How do I create a page curl effect when switching NSViews. I found several page curl demos for IOS, but none for OS X.
Thanks!



jiminaus
May 30, 2011, 07:21 AM
CoreAnimation is pretty similar across iOS and Mac OS X. Generally CoreAnimation on iOS is subset of CoreAnimation on Mac OS X. They are much more similar than say Cocoa Touch on iOS and Cocoa on Mac OS X.

Could you not port an iOS implementation of this effect? The biggest issue would be if effect is done in EAGL. You'd need to port it to OpenGL. But otherwise it should be an easy port.