did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780321555458

The iPhone Developer's Cookbook Building Applications with the iPhone SDK

by
  • ISBN13:

    9780321555458

  • ISBN10:

    0321555457

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2008-10-13
  • Publisher: Addison-Wesley Professional
  • View Upgraded Edition
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $39.99

Summary

An invaluable resource for anyone just getting started with iPhone programming.

Author Biography

Erica Sadun has written, coauthored, and contributed to about three dozen books about technology, particularly in the areas of programming, digital video, and digital photography. An unrepentant geek, Sadun has never met a gadget she didn’t need. Her checkered past includes run-ins with NeXT, Newton, iPhone, and myriad successful and unsuccessful technologies. When not writing, she and her geek husband parent three adorable geeks-in-training, who regard their parents with restrained bemusement.

Table of Contents

Preface xvii
Acknowledgments xxi
About the Author xxii
Introducing the iPhone SDK 1?
Apples iPhone SDK?
Assembling iPhone Projects?
iPhone Application Components?
Application Folder Hierarchy?
The Executable?
The Info.plist File?
The Icon and Default Images?
XIB (NIB) files?
Files Not Found in the Application Bundle?
Sandboxes?
Platform Limitations?
Storage Limits?
Data Access Limits?
Memory Limits?
Interaction Limits?
Energy Limits?
Application Limits?
User Behavior Limits 1?
SDK Limitations 1?
Programming Paradigms 1?
Object-Oriented Programming 1?
Model-View-Controller 1?
Building an iPhone Application Skeleton 1?
The Hello World Application 1?
The Classes 1?
The Code 2?
A Note About Sample Code and Memory Management 2?
Building Hello World 2?
Create an iPhone Project 2?
Running the Skeleton 2?
Customize the iPhone Project 2?
Editing Identification Information 2?
Using the Debugger 2?
Apples iPhone Developer Program 2?
Development Phones 2?
Application Identifiers 2?
From Xcode to Your iPhone: The Organizer Interface 3?
Projects and Sources List 3?
Devices List 3?
Summary Tab 3?
Console Tab 3?
Crash Logs Tab 3?
Screenshot Tab 3?
About Tethering 3?
Testing Applications on Your iPhone 3?
Compiling for Distribution 3?
Using Undocumented API Calls 3?
Ad Hoc Distribution 3?
Summary 36?
Views 3?
UIView and UIWindow 3?
Hierarchy 3?
Geometry and Traits 3?
Gestures 4?
Recipe: Adding Stepwise Subviews 4?
Reorienting 4?
Recipe: Dragging Views 4?
UITouch 4?
Adding Persistence 4?
Recipe: Clipped Views 5?
Balancing Touches with Clipping 5?
Accessing Pixel-by-Pixel Values 5?
Recipe: Detecting Multitouch 5?
UIView Animations 5?
Building UIView Animation Blocks 5?
Recipe: Fading a View In and Out 6?
Recipe: Swapping Views 6?
Recipe: Flipping Views 6?
Recipe: Applying CATransitions to Layers 6?
Undocumented Animation Types 6?
General Core Animation Calls 6?
Recipe: Swiping Views 69
Table of Contents provided by Publisher. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Excerpts

Preface PrefaceFew platforms match the iPhone's unique developer technologies. It combines OS X-based mobile computing with an innovative multitouch screen, location awareness, an onboard accelerometer, and more. When Apple introduced the iPhone Cocoa Touch SDK beta in early March 2008, developers responded in numbers that brought Apple's servers to its knees. Apple delivered more than one hundred thousand SDK downloads in less than one week. The iPhone Developer's Cookbook was written to address this demand, providing an accessible resource for those new to iPhone programming. Who This Book Is ForThis book is written for new iPhone developers with projects to get done and a new unfamiliar SDK in their hands. Although each programmer brings different goals and experiences to the table, most developers end up solving similar tasks in their development work: "How do I build a table?"; "How do I create a secure keychain entry?"; "How do I search the Address Book?"; "How do I move between views?"; and "How do I use Core Location?"The iPhone Developer's Cookbook is aimed squarely at anyone just getting started with iPhone programming. With its clear, fully documented examples, it will get you up to speed and working productively. It presents already tested ready-to-use solutions, letting programmers focus on the specifics of their application rather than on boilerplate tasks. How This Book Is StructuredThis book offers single-task recipes for the most common issues new iPhone developers face: laying out interface elements, responding to users, accessing local data sources, and connecting to the Internet. The cookbook approach delivers cut-and-paste convenience. Programmers can add source recipes into their projects and then customize them to their needs. Each chapter groups related tasks together. Readers can jump directly to the kind of solution they're looking for without having to decide which class or framework best matches that problem.Here's a rundown of what you'll find in this book's chapters:Chapter 1:Getting Started with the iPhone SDKChapter 1 introduces the iPhone SDK and explores the iPhone as a delivery platform, limitations and all. It explains the breakdown of the standard iPhone application and enables you to build your first Hello World style samples.Chapter 2:ViewsChapter 2 introduces iPhone views, objects that live on your screen. You see how to lay out, create, and order your views to create backbones for your iPhone applications. You read about view hierarchies, geometries, and animations as well as how users can interact with views through touch.Chapter 3:View ControllersThe iPhone paradigm in a nutshell is this: small screen, big virtual worlds. In Chapter 3, you discover the various UIViewController classes that enable you to enlarge and order the virtual spaces your users interact with. You learn how to let these powerful objects perform all the heavy lifting when navigating between iPhone application screens.Chapter 4:Alerting UsersThe iPhone offers many ways to provide users with a heads up, from pop-up dialogs and progress bars to audio pings and status bar updates. Chapter 4 shows how to build these indications into your

Rewards Program