-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathREADME.txt
13 lines (7 loc) · 936 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
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.