Summer Reading Sale
 
 

Recently Viewed clear list


Original Essays | July 22, 2014

Nick Harkaway: IMG The Florist-Assassins



The three men lit up in my mind's eye, with footnotes. They were converging on me — and on the object I was carrying — in a way that had... Continue »
  1. $18.87 Sale Hardcover add to wish list

    Tigerman

    Nick Harkaway 9780385352413

spacer
Qualifying orders ship free.
$14.50
Used Trade Paper
Ships in 1 to 3 days
Add to Wishlist
Qty Store Section
1 Local Warehouse Mobile and Handheld Devices- iPhone

More copies of this ISBN

The Iphone Developer's Cookbook: Building Applications with the Iphone SDK (Developer's Library)

by

The Iphone Developer's Cookbook: Building Applications with the Iphone SDK (Developer's Library) Cover

 

Out of Print
 

Excerpt

Preface

Preface

Few platforms match the iPhones 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 Apples servers to its knees. Apple delivered more than one hundred thousand SDK downloads in less than one week. The iPhone Developers Cookbook was written to address this demand, providing an accessible resource for those new to iPhone programming.

Who This Book Is For

This 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 Developers 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 Structured

This 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 theyre looking for without having to decide which class or framework best matches that problem.

Heres a rundown of what youll find in this books chapters:

  • Chapter 1: Getting Started with the iPhone SDK

    Chapter 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: Views

    Chapter 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 Controllers

    The 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 Users

    The 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 applications and expand your user-alert vocabulary.

  • Chapter 5: Basic Tables

    Tables provide an interaction class that works particularly well on a small, cramped device. Many, if not most, apps that ship with the iPhone and iPod touch center on tables, including Settings, YouTube, Stocks, and Weather. Chapter 5 shows how iPhone tables work, what kinds of tables are available to you as a developer, and how you can use table features in your own programs.

  • Chapter 6: Advanced Tables

    iPhone tables do not begin and end with simple scrolling lists. You can build tables with titled sections, with multiple scrolling columns, and more. You can add controls such as switches, create translucent cell backgrounds, and include custom fonts. Chapter 6 starts from where “Basic Tables” left off. It introduces advanced table recipes for you to use in your iPhone programs.

  • Chapter 7: Media

    As youd expect, the iPhone can load and display media from a wide variety of formats. It does music; it does movies. It handles images and Web pages. You can present PDF documents and photo albums and more. Chapter 7 shows way after way that you can import or download data into your program and display that data using the iPhones multitouch interface.

  • Chapter 8: Control

    The UIControl class provides the basis for many iPhones interactive elements, including buttons, text fields, sliders, and switches. Chapter 8 introduces controls and their use, both through well-documented SDK calls and through less-­documented ones.

  • Chapter 9: People, Places, and Things

    In addition to standard user interface controls and media components that youd see on any computer, the iPhone SDK provides a number of tightly focused developer solutions specific to iPhone and iPod touch delivery. Chapter 9 introduces the most useful of these, including Address Book access (“people”), core location (“places”), and sensors (“things”).

  • Chapter 10: Connecting to Services

    As an Internet-connected device, the iPhone is particularly suited to subscribing to Web-based services. Apple has lavished the platform with a solid grounding in all kinds of network computing services and their supporting technologies. The iPhone SDK handles sockets, password keychains, SQL access, XML processing, and more. Chapter 10 surveys common techniques for network computing and offering recipes that simplify day-to-day tasks.

  • Chapter 11: One More Thing: Programming Cover Flow

    Although Cover Flow is not officially included in the iPhone SDK, it offers one of the nicest and most beautiful features of the iPhone experience. With Cover Flow, you can offer your users a gorgeously intense visual selection experience that puts standard scrolling lists to shame. Chapter 11 introduces Cover Flow and shows how you can use it in your applications.

Prerequisites

Here are basics you need on hand to begin programming for the iPhone or iPod touch:

  • A copy of Apples iPhone SDK. Download your copy of the iPhone SDK from Apples iPhone Dev Center (http://developer.apple.com/iphone/). You must join Apples (free) developer program before you download.
  • An iPhone or iPod touch. Although Apple supplies a simulator as part of its SDK, you really do need to have an actual unit to test on if youre going to develop any serious software. Youll be able to use the cable that shipped with your iPhone or iPod touch to tether your unit to the computer and install the software youve built.
  • An Apple iPhone Developer License. You will not be able to test your software on an actual iPhone or iPod touch until you join Apples iPhone Developer program (http://developer.apple.com/iphone/program). Members receive a certificate that allows them to sign their applications and download them to the platforms in question for testing and debugging. The program costs $99/year for individuals and companies, $299/year for in-house enterprise development.
  • An Intel-based Macintosh running Leopard. The SDK requires a Macintosh running Leopard OS X 10.5.3 or later. Apple requires an Intel-based computer in 32-bit mode. Many features do not work properly on PPC-based Macs or Intel Macs in 64-bit mode. Reserve plenty of disk space and at least 1GB of RAM.
  • At least one available USB 2.0 port. This enables you to tether your development iPhone or iPod touch to your computer for file transfer and testing.
  • An Internet connection. This connection enables you to test your programs with a live WiFi connection as well as with EDGE.
  • Familiarity with Objective-C. The SDK is built around Objective-C 2.0. The language is based on standard C with object-oriented extensions. If you have any object-oriented and C background, making the move to Objective-C is both quick and simple. Consult any Objective-C/Cocoa reference book to get up to speed.

Note - Although the SDK supports development for the iPhone and iPod touch, as well as possible yet-to-be-announced platforms, this book refers to the target platform as iPhone for the sake of simplicity. When developing for the touch, most material is applicable. This excludes certain obvious features such as telephony and onboard speakers. This book attempts to note such exceptions in the manuscript.


Contacting the Author

If you have any comments or questions about this book, please drop me an e-mail ­message at erica@ericasadun.com or stop by http://www.ericasadun.com. My Web site hosts many of the applications discussed in this book. Please feel free to visit, download ­software, read documentation, and leave your comments.

© Copyright Pearson Education. All rights reserved.

Product Details

ISBN:
9780321555458
Subtitle:
Building Applications with the iPhone SDK
Author:
Sadun, Erica
Publisher:
Addison-Wesley Professional
Subject:
Programming Languages - General
Subject:
Computer software
Subject:
Mobile computing
Subject:
Hardware - Handheld Computing
Subject:
Hardware - Handheld Devicesng
Subject:
Hardware - Handheld Devices
Subject:
IPhone (Smartphone) - Programming
Subject:
Data Transmission Systems - General
Copyright:
Edition Description:
Trade paper
Series:
Developer's Library
Publication Date:
20081013
Binding:
Paperback
Grade Level:
Professional and scholarly
Language:
English
Illustrations:
Y
Pages:
384
Dimensions:
9 x 7 x 0.74 in 542 gr

Other books you might like

  1. Professional Android Application...
    Used Trade Paper $10.50
  2. Beginning Iphone Development:... New Trade Paper $39.99

Related Subjects

Computers and Internet » Apple » Applications
Computers and Internet » Computers Reference » General
Computers and Internet » Mobile and Handheld Devices » iPhone
Computers and Internet » Software Engineering » Programming and Languages

The Iphone Developer's Cookbook: Building Applications with the Iphone SDK (Developer's Library) Used Trade Paper
0 stars - 0 reviews
$14.50 In Stock
Product details 384 pages Addison-Wesley Professional - English 9780321555458 Reviews:
"Synopsis" by ,

Want to get started fast with Apple’s breakthrough iPhone SDK 3.0? Already building iPhone applications and want to get better at it? This is the only book that brings together all the expert guidance and up-to-the-minute code you’ll need!

 

Well-known iPhone programming guru Erica Sadun has thoroughly revamped this bestseller to cover all the powerful new goodies included in the iPhone SDK 3.0, including Core Data, Game Kit, Push Notifications, and a whole lot more. She’s also added effective jumpstart introductions for developers who are new to Xcode, Interface Builder, or Objective-C 2.0–making this book an indispensable resource for iPhone programmers at every level of experience.

 

This edition delivers even more of what made the First Edition so popular: tested, ready-to-use code for hundreds of challenges you might encounter, all organized for super-fast access. Using this fully documented, easy-to-customize code, you can get productive immediately and focus your time on creating killer apps, not handling boilerplate tasks!

 

Coverage includes

 

·        Installing the iPhone 3.0 SDK, registering as a developer, and building your first project

·        Mastering the Objective-C 2.0 and Cocoa techniques you’ll need in day-to-day iPhone programming

·        Using the iPhone SDK’s visual classes and controllers to design and customize interfaces

·        Using gestures, touches, and other sophisticated iPhone interface capabilities

·        Making the most of tables, views, view controllers, and animations

·        Alerting users with progress bars, audio pings, status bar updates, and other indicators

·        Using new Push Notifications to send alerts, whether your app is running or not

·        Playing audio and video with the Media Kit

·        Working with the Address Book (people), Core Location (places), and Sensors (things)

·        Connecting to the Internet, Web services, and networks

·        Embedding flexible maps with Map Kit and Google Mobile Maps

·        Building multi-player games with Game Kit

·        Using Core Data to build data-driven applications

·        Selling add-on content and services with In-App Purchasing and the Store Kit

·        Building more accessible apps with Accessibility Plus

"Synopsis" by ,

“This book would be a bargain at ten times its price! If you are writing iPhone software, it will save you weeks of development time. Erica has included dozens of crisp and clear examples illustrating essential iPhone development techniques and many others that show special effects going way beyond Apple’s official documentation.”

—Tim Burks, iPhone Software Developer, TootSweet Software

 

“Erica Sadun’s technical expertise lives up to the Addison-Wesley name. The iPhone Developer’s Cookbook is a comprehensive walkthrough of iPhone development that will help anyone out, from beginners to more experienced developers. Code samples and screenshots help punctuate the numerous tips and tricks in this book.”

—Jacqui Cheng, Associate Editor, Ars Technica

 

“We make our living writing this stuff and yet I am humbled by Erica’s command of her subject matter and the way she presents the material: pleasantly informal, then very appropriately detailed technically. This is a going to be the Petzold book for iPhone developers.”

—Daniel Pasco, Lead Developer and CEO, Black Pixel Luminance

 

The iPhone Developer’s Cookbook: Building Applications with the iPhone SDK should be the first resource for the beginning iPhone programmer, and is the best supplemental material to Apple’s own documentation.”

—Alex C. Schaefer, Lead Programmer, ApolloIM, iPhone Application Development Specialist, MeLLmo, Inc

 

“Erica’s book is a truly great resource for Cocoa Touch developers. This book goes far beyond the documentation on Apple’s Web site, and she includes methods that give the developer a deeper understanding of the iPhone OS, by letting them glimpse at what’s going on behind the scenes on this incredible mobile platform.”

—John Zorko, Sr. Software Engineer, Mobile Devices

 

The iPhone and iPod touch aren’t just attracting millions of new users; their breakthrough development platform enables programmers to build tomorrow’s killer applications. If you’re getting started with iPhone programming, this book brings together tested, ready-to-use code for hundreds of the challenges you’re most likely to encounter. Use this fully documented, easy-to-customize code to get productive fast—and focus your time on the specifics of your application, not boilerplate tasks.

 

Leading iPhone developer Erica Sadun begins by exploring the iPhone delivery platform and SDK, helping you set up your development environment, and showing how iPhone applications are constructed. Next, she offers single-task recipes for the full spectrum of iPhone/iPod touch programming jobs:

  • Utilize views and tables
  • Organize interface elements
  • Alert and respond to users
  • Access the Address Book (people), Core Location (places), and Sensors (things)
  • Connect to the Internet and Web services
  • Display media content
  • Create secure Keychain entries
  • And much more

 

You’ll even discover how to use Cover Flow to create gorgeous visual selection experiences that put scrolling lists to shame!

 

This book is organized for fast access: related tasks are grouped together, and you can jump directly to the right solution, even if you don’t know which class or framework to use. All code is based on Apple’s publicly released iPhone SDK, not a beta. No matter what iPhone projects come your way, The iPhone Developer’s Cookbook will be your indispensable companion.

 

spacer
spacer
  • back to top
Follow us on...




Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.