Skip to content

stuartjmoore/sBooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UPDATE: As of iOS 5 (I wrote this right before it came out), this class is useless. Use UIPageViewController instead.

A class that can turn an empty view into an iBooks like page turning view. Each page is a full UIViewController, and the curl follows your finger (rotation included).

This is a pretty simple project; the code was written for a client, so I've obviously stripped all of their data out and put in some Mark Twain. They wanted a page turning effect, but iBooks uses a private API and the other options didn't rotate or look good enough.

Add the "book/" directory to your project.

The "ExampleView" is a subclass of SMBookController and where the pages appear (any back image has to be in a separate view or the controller will delete it).

"PageView" is an example of a page. This project only uses on page view and modifies the data for each page. You can easily add different pages nibs.

Check out the screenshots.

About

App Store safe iBooks-esque page turn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published