• Stars
    star
    147
  • Rank 251,347 (Top 5 %)
  • Language
    Objective-C
  • License
    Other
  • Created over 14 years ago
  • Updated almost 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A page curl/page flip example for the iPad

Page Curl Sample for iPad

This application makes use of (clever?) manipulation of multiple CALayers attached to a single UIView to "fake" a page curl/page flip effect for the iPad. It's the next best thing to iBooks until Apple releases a public API for the CIPageCurl ImageUnit on the iPad. You should really be using UIPageViewController for this sort of thing now.

Clicking in right/left margins will flip pages forward/backwards. Dragging from said margins towards the center of the screen will slowly animate the flipping of the page so as to track your finger. Rotating does the Right Thing showing pages "two up" in landscape mode.

This code is distributed under a BSD license (see LICENSE) and was originally written to support VERVM, an iPad version of the VERVM CORPVS comic book.

My thanks,
-Joshua Emmons
@jemmons
May 2010