iPhone and iPad Apps for Absolute Beginners

By Rory Lewis

So how do you build an iPhone application? Don't you need to spend years learning complicated programming languages? The answer is NO! Anybody can start building simple applications for the iPhone, and this book will show you how.

Full Description

  • ISBN13: 978-1-4302-2700-7
  • User Level: Beginner
  • Publication Date: June 6, 2010
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $29.99
  • eBook Price: $20.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

The iPhone is the hottest gadget of our generation, and much of its success has been fueled by the App Store, Apple’s online marketplace for iPhone applications. Over 1 billion apps have been downloaded in the 9 months the App Store has been open, ranging from the simplest games to the most complex business apps. Everyone has an idea for the next best-selling iPhone app—presumably that’s why you’re reading this now. And with the release of the iPad, this demand will just continue to grow.

So how do you build an application for the iPhone and iPad? Don’t you need to spend years learning complicated programming languages? What about Objective-C, Cocoa Touch, and the software development kit (SDK)? The answer is that you don’t need to know any of those things. Anybody can start building simple applications for the iPhone and iPad, and this book will show you how.

This book takes you to getting your first applications up and running using plain English and practical examples. It cuts through the fog of jargon and misinformation that surrounds iPhone and iPad application development, and gives you simple, step-by-step instructions to get you started.

  • Teaches iPhone and iPad application development in language anyone can understand
  • Provides simple, step-by-step examples that make learning easy
  • Offers videos that enable you to follow along with the author—it’s like your own private classroom

What you’ll learn

  • Get both yourself and your computer set up for iPhone and iPad application development.
  • Start by making small changes to existing applications to build your knowledge and experience before creating your own applications.
  • Follow steps in plain English to build simple apps and get them working immediately.
  • Style your application so that it looks good and users can easily navigate through it.
  • Make use of the iPhone’s touch screen and accelerometer.
  • Use shortcuts and cheat sheets to create apps the easy way.

Who this book is for

If you have a great idea for an iPhone or iPad app, but have never programmed before, then this book is for you. You don’t need to have any previous computer programming skills—as long as you have a desire to learn, and you know which end of the mouse is which, you’ll be fine.

Table of Contents

Table of Contents

  1. Before We Get Started
  2. Blast-Off!
  3. What’s Next?
  4. An Introduction to the Code
  5. Buttons & Labels with Multiple Graphics
  6. Switch View with Multiple Graphics
  7. Dragging, Rotating, and Scaling
  8. Table Views, Navigation, and Arrays
  9. MapKit
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

Please Login to submit errata.

On page 30:
Not an errata per-se, but rather a suggestion. In the very first example, for the "Hello World" app, I went through it and couldn't understand why the label showed the text from the beginning, without even pressing the button... It turns out that while the instructions were:

"..in the Label Attributes window (to the right), delete the default text "Label" from the top field"

Up to that all nice, but then it goes on to say:

"I'm having you do this so that you can then enter "Hello World!""

This seems to indicate precisely to delete "Label" and immediately enter/replace it with "Hello World!", however this is *not* what is to be done, as that is what the label shows, and therefore the button press will *Seem* to have no effect.

What it *should* say instead is: "I'm having you do this, so that the application can then enter "Hello World!" when the user presses the button as a result of it's action.

On page 43:
I cant find the same code in Xcode 4, doing a "navigation based app".

On page 44:
The code to be inserted should read

[cell.textLabel setText:@"Hello World!"];

You are missing the space before setText and also the colon after setText is printed as a "

On page 48:

[cell.textLabelsetText:@"Hello World!"];

should be

[cell.textLabel setText:@"Hello World!"];

On page 48:

The reader should be reminded to change the return value from 0 to 1 on the // Customize the number of rows in the table view section of the RootViewController.m file.

On page 50:
Step 4 tells you to delete the commented lines, but the Edit button will only appear if you uncomment the second line instead of deleting it.