XCode Templates with production ready code for publishing an iPad book App PLUS access to eleven HD video tutorials about the code in the templates and how to get set up and approved for inclusion in the App Store.
Add in your own images and publish a realistic page-turning book to your iPad immediately! Then add a little extra code to really make your book standout for inclusion in the App Store.
Included XCode templates:
After watching the reference guide videos you’ll know how to:
This kit has been upgraded to Cocos2d v2.1 and supports HD for the new iPad 3. It also includes a Restore Purchases button which is required (as of June 2012) for any App that has in-app purchasing. The kit is also compatible with iOS6.
This kit can be used with both the iPhone or iPad. In the Project Settings just choose iPhone, iPad or Universal.
If you choose Universal just keep in mind, extra images should be included for each device. For the iPad, the images will have "-ipad.png" at the end, so your pages will be "page0-ipad.png, page1-hd.png" and so on. And these should be sized at 1024 x 768 for a landscape held book.
For Retina display phones you add "-hd.png" at the end, so your pages will be "page0-hd.png, page1-hd.png" and so on. And these should be sized at 960 x 640 for a landscape held book.
For Retina display iPads you add "-ipadhd.png" at the end, so your pages will be "page0-ipadhd.png, page1-ipadhd.png" and so on. And these should be sized at 2048 x 1536 for a landscape held book.
And then your normally named images (without any filename modification) will be used for the non-Retina display iPhones like the 3G or 3GS or non-Retina iPods. These should be sized at 480 x 360 for a landscape held book.
The main thing that has to be done is replacing the included sequential book page images (page0.png, page1.png, and so on) with your own images. (In landscape mode your images will be 1024 by 768).
You can also include a cover page (named “page0_with_options.png”) that includes text over your book cover with instructions for readers on where to swipe or press to flip the page forward and back and how to get to the index. This alternate cover page can be seen when the app first loads, but if the viewer returns to this page later, they’ll see your usual cover art ( “page0.png” ).
Each template has a file called
Constants.h with a variable called
theMaxNumberOfPages , right now that equals 17. Change that number to your max number of pages. It also has a variable called
theIndexPageOfTheBook . Right now that equals 3. If you don't want a clickable index, you can change that number to any number higher than your max number of pages (which safely makes it unused). If you're curious about anything else in
Constants.h, watch the videos!
After those few simple steps, you can publish your book to your iPad. Getting approved for inclusion in the App Store takes just a little bit more work. We’ve included some short videos with example code to convice your App Reviewer that your book belongs in the App Store in the Books category.
Without something extra, your book will probably get rejected with a note that it would be better off in the iBookStore. Basically meaning its not doing enough to be considered an “app”. The iBookStore is for books created in a different format than this template, and gets far less sales and searches than the App Store. But don’t worry, its incredibly easy to add sounds, buttons, special FX, or animation that will get your app approved. Video tutorials 7-10 go into all that.
We’ve also included an initial setup video for beginners to XCode and app development. It will give you an overview of what you need to know about XCode to setup your app, and where to go in iTunes Connect and the Development Portal to sign your application and submit it. So while it would be great if you knew a bit of programming and had prior development experience, this template does not require it.
Tutorial videos are available at:
The password is included in the text file with your purchase
You can download the video or watch online after entering the password.