Personal License


  • Perpetual license (does not expire)
  • 1 application
  • Can distribute binary products only
  • Commercial use allowed
$24.99 Read License

Developer License


  • Perpetual license (does not expire)
  • Unlimited projects
  • Can distribute code and binary products
  • Commercial use allowed
  • 6 months support
$149.99 Read License

14 Day money-back guarantee

Full refund within 14 days of purchase date.

You need to log-in or create an account
  • Create an account
  • Log-in

Please use your real name.

Activation link will be sent to this address.

Minimum 8 characters

Enter your password again

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

(3 ratings)

iPad Ebook Starter Kit

iPad Ebook Starter Kit
Developed by Justin Dike, Released Jan 9, 2012

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.

Objective-C

Tags: children's book , cocos2d , digital book , ebook

alt text

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:

  • One eBook template without code for In-App Purchasing (described in detail in videos 1-5 )
  • One eBook template with code for In-App Purchasing (described in video 6 )
  • One eBook template with code for In-App Purchasing and a lot of extra code (described in videos 7-10)

After watching the reference guide videos you’ll know how to:

  • Add sound FX & background audio to specific pages
  • Add animated images
  • Add buttons that reveal other images (great for kids books!)
  • Add special FX to your pages with just a few lines of code ( snow, rain, fire, sun, fireworks, sun, galaxies, and more)
  • Add an index to jump to pages
  • Add an in-App purchase option to give part of the book away for free, and the rest for sale.

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.

Back to top

Setup Guide

Replacing Assets

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.

Getting published on the app store

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:

http://vimeo.com/34674135

The password is included in the text file with your purchase

You can download the video or watch online after entering the password.

Tutorial sections:

  • Part 00 Initial_Setup - 0:00:00
  • Part 01 Intro - 0:33:19
  • Part 02 TheBook_class - 0:46:12
  • Part 03 ThePage_class - 1:05:41
  • Part 04 TheMenu_Class - 1:34:04
  • Part 05 BookData_Class - 1:41:58
  • Part 06 InApp_Purchase -1:46:27
  • Part 07 Add_Sounds - 2:03:58
  • Part 08 Button_Reveal - 2:13:44
  • Part 09 Animation - 2:21:53
  • Part 10 Particle_FX - 2:31:39
View all 2 reviews »

User Reviews

  • 1 of 2 people found this review helpful good_bakoo 1 year ago
    really easy to know
    Flag
    Was this helpful? Yes No
  • 0 of 1 people found this review helpful LINO GARCIA 1 year ago
    An useful component.
    Flag
    Was this helpful? Yes No
Read all 37 comments »

Questions & Comments


Or enter your name and Email
  • shekfu License holderDeveloper License 1 month ago
    Hi , I buy and try the starter kit. It very easy and fast to build up the e-book. So easy. Now I want add the print button for the children printing the interest contents. But I don't know how to add the button on the starter kit. Have any sample code to provide ? Thanks
    • Justin Dike Developer 4 weeks ago
      Thanks, I've never tried printing from an app before. Probably pretty easy though. But no, I don't have the code offhand.

      Thanks
  • Marija Kopf License holderPersonal License 5 months ago
    Are there any sample Apps created with this Starter Kid that can be viewed before purchase?
  • José Chacón 6 months ago
    I've been trying to add more than 1 button, or a button and some animation in the same page, but it only shows 1 ( The first one ) and if there is sound, there are no buttons or animations, ¿how can I put more than 1 element in the same page?

    • Justin Dike Developer 6 months ago
      Should be pretty straight forward. Copy and paste some of the existing code, and change the variable names so you don't create two instances with the same name. What you might have done is not changed everything, and instead used addChild on the same instance twice. That would explain not seeing more than 1 element.

      Also I get the feeling you aren't combining the code to do more than one thing. Here's what I mean, you want to do something like this...

      if ( page == 5) {

      // do code to play sound

      // do code to play animation

      // do code to add more buttons

      // do code to add even more buttons

      }

      I think what you're doing is this...


      if ( page == 5) {

      // do code to play sound

      }

      Then wondering how to add more. Is that right?
You must be logged-in to vote. Log-in to your account or register now.