Beginning iPad Development for iPhone Developers

Brian RamagliOct 18, 2010

Welcome To iPad Development

The iPad is the big new thing in mobile computing. As a capable replacement to the laptop and a modest media consuming device, it is no surprise developers are flocking to support it. “Beginning iPad Development for iPhone Developers Mastering the iPad SDK” by Dave Wooldridge, Jack Nutting and David Mark is an excellent stepping stone from iPhone development to iPad Development.

The book starts out describing what some successful developers, who helped pioneered iPad development, did to port their iPhone apps to the iPad. Notable interviews include Steve Sprang for Brushes, Agile Web Solutions for 1Password, and Syncode for Synnotes. They give insight into how application developers could take advantages of the new iPad features to make their app better.

While you don’t already have to be an expert iPhone developer to benefit from this book, you will need to have a firm understanding of Objective-C, UIKit, and Interface Builder at the very least. However, if there is anything you do not understand, the book contains numerous references to other texts that help catch you up to the level expected.

After a basic introduction, the author starts delving deeper into what makes you an iPad Developer. Full coverage of the iPad’s core features include: Core Text, Popovers, New Video Display output, Split View and Modal modes, Advanced input methods, and Document Support, and finally, universal application support.

Dudel

As you progress through the book, and all of the iPad features, you will be creating and expanding a program called Dudel — a vector drawing app. As Cocoa is naturally verbose, the author uses K&R style braces to help condense the code. This can lead to rather dense code that will take extra time to read. The author includes comments, but also summarizes large chunks before and after out of code. To get an idea of how you will be expanding your Dudel app using the technologies, here are the features he implements:

  • Bezier drawing (iPad Drawing)
  • Line (iPad Drawing)
  • Rectangle and Ellipses (iPad Drawing)
  • PDF Exporting (iPad Drawing)
  • Text drawing supporting multiple sizes, fonts, and container sizes (Core Text)
  • Properties Editor (PopOvers)
  • An interface to Save and Load (SplitView)
  • Saving, Deleting, and Renaming Files (Modal Modes)
  • Undo (Gesture Recognition)
  • Sending PDF documents anywhere (Document Support)
  • Dudeldoc file type (Document Support)

It should be noted that the video and display output chapter doesn’t extend upon Dudel, simply because the two ideas don’t mesh well. The author does fully explain, and step you through creating a video playing application.

Summary

The most interesting chapter, and the one iPhone developers will benefit from the most, is From iPhone to iPad. This chapter walks you through taking an existing iPhone app and the upgrading of it to an iPad app, all using the same code base.

Lastly it should be noted that this book does not contain information about iOS 4.2, which will bring some sweeping changes to the iPad’s OS, although that does not degrade the book’s useful nature in helping getting you ready from iPhone to iPad.

uDevGames 2011

Convergence — Best Gameplay
Kung Fu Killforce — Best Overall Game, Best Audio, Best Presentation
Flying Sweeden — Best Graphics, Most Original
Time Goat — Best Story