Beginning iOS 4 Application Development - PDF
Скачать полную версию книги "Beginning iOS 4 Application Development - PDF"
Within a short time span of six months, Apple revised the iPhone OS twice. The first time was in January 2010, when Apple announced a magical and revolutionary product: the iPad. Because the iPad is a tablet computer that is based on the iPhone OS, this meant that there were instantly more than 250,000 applications that could run on the iPad. Then, in April Apple announced (and subsequently shipped in June) the next major release of the iPhone OS — 4.0. Apple also took this opportunity to rename this new release of the OS, calling it iOS. This signifies Apple’s grand plan to run the iPhone OS on a wide variety of devices, not just on phones. Included with the new release of the OS is a new SDK, the iPhone SDK 4, which enables developers to take advantage of the various features provided by the operating system — key of which is the capability to run background applications.
When I first started learning about iPhone and iPad development, I went through the same journey that most developers go through: Write a Hello World application, play around with Interface Builder, try to understand what the code is doing, and repeat that process. I was also overwhelmed by the concept of a View Controller, and wondered why it was needed if I simply wanted to display a view. My background in developing for Windows Mobile and Android did not help much, and I had to start working with this concept from scratch.
This book was written to help jumpstart beginning iPhone and iPad developers. It covers the various topics in such a manner that you will progressively learn without being overwhelmed by the details. I adopt the philosophy that the best way to learn is by doing, hence the numerous hands-on “Try It Out” sections in each chapter, which first show you how to build something and then explain “How It Works.”
Although iPhone and iPad programming is a huge topic, my aim for this book is to get you started with the fundamentals, help you understand the underlying architecture of the SDK, and appreciate why things are done certain ways. It is beyond the scope of this book to cover everything under the sun related to iPhone and iPad programming, but I am confident that after reading this book (and doing the exercises), you will be well equipped to tackle your next iPhone or iPad programming challenge.