iPhone for Programmers: An App-Driven Approach (Deitel Developer Series)

Paperback
from $0.00

Author: Paul Deitel

ISBN-10: 013705842X

ISBN-13: 9780137058426

Category: Personal Computers

The professional programmer’s DEITEL® guide to iPhone app development using iPhone SDK 3.x, Xcode®, Objective-C® and Cocoa® \ More than 1.5 billion iPhone apps were downloaded from Apple’s App Store in just one year! This book gives you everything you’ll need to start developing great iPhone apps quickly and–once you’ve joined Apple’s fee-based iPhone Developer Program–to get them up and running on the App Store. The book uses an app-driven approach–each new technology is discussed in the...

Search in google:

The professional programmer’s DEITEL® guide to iPhone app development using iPhone SDK 3.x, Xcode®, Objective-C® and Cocoa®More than 1.5 billion iPhone apps were downloaded from Apple’s App Store in just one year! This book gives you everything you’ll need to start developing great iPhone apps quickly and–once you’ve joined Apple’s fee-based iPhone Developer Program–to get them up and running on the App Store. The book uses an app-driven approach–each new technology is discussed in the context of 14 fully tested iPhone apps (7700 lines of code), complete with syntax shading, code walkthroughs and sample outputs. Apps you’ll develop include:WelcomeSpot-On GameRoute TrackerTip CalculatorCannon Game SlideshowFavorite Twitter® SearchesPainter Voice RecorderFlag Quiz GameAddress BookTwitter® Discount AirfaresBy Chapter 3 you’ll be building apps using Xcode®, Cocoa® and Interface Builder. You’ll learn object-oriented programming in Objective-C® and build apps using the latest iPhone 3.x technologies including the Game Kit, iPod library access and more.iPhone for Programmers include practical, example-rich coverage of:• iPhone SDK 3.x, XCode®, Interface Builder• Object-Oriented Programming in Objective-C® and Cocoa®• Collections, GUI, Event Handling• Controllers, Application Templates• UIView, Multi-Touch™• Core Audio, Core Animation, NSTimer• Tables, UINavigationController• Map Kit, Core Location, GPS, Compass• Photos, iPod Library Access• Serialization

Illustrations xvii Preface xxvii Before You Begin xxxiii Chapter 1: Introduction to iPhone App Development 1 1.1 Introduction to iPhone for Programmers 21.2 iPhone Overview 31.3 Key New iPhone 3GS and OS 3.x Features and Enhancements 61.4 Downloading Apps from the App Store 71.5 iPhone OS 3.x 81.6 Objective-C Programming Language 91.7 Design Patterns 101.8 Cocoa Frameworks 111.9 New iPhone SDK 3 Features 131.10 Xcode Toolset 141.11 Basics of Object Technology 151.12 Web 2.0 171.13 Test-Driving the Painter App in the iPhone Simulator 171.14 Wrap-Up 221.15 Deitel Resource Centers 22Chapter 2: iPhone App Store and App Business Issues 232.1 Introduction 242.2 iPhone Developer Program: Setting Up Your Profile for Testing and Submitting Apps 252.3 iPhone Human Interface Guidelines 302.4 Testing Your App 322.5 Preparing Your App for Submission through iTunes Connect 322.6 Characteristics of Great iPhone Apps 342.7 Avoiding Rejection of Your App 352.8 Pricing Your App: Free or Fee 362.9 Adding an App to iTunes Connect 382.10 Monetizing Paid Apps: Using In App Purchase to Sell Virtual Goods 412.11 Using iTunes Connect to Manage Your Apps 422.12 Marketing Your App 432.13 iPhone Anecdotes and Humor 482.14 Other Platforms 492.15 iPhone Developer Documentation 502.16 Wrap-Up 50Chapter 3: Welcome App 51Dive-Into® Xcode, Cocoa and Interface Builder 3.1 Introduction 523.2 Overview of the Technologies 523.3 Xcode 3.x IDE and Cocoa 533.4 Building the Application 563.5 Building the GUI with Interface Builder 573.6 Running the Welcome App 613.7 Wrap-Up 63Chapter 4: Tip Calculator App 64Introducing Objective-C Programming 4.1 Introduction 654.2 Test-Driving the Tip Calculator App 664.3 Overview of the Technologies 664.4 Building the App 664.5 Adding Functionality to Your App 714.6 Connecting Objects in Interface Builder 734.7 Implementing the Class’s Methods 764.8 Wrap-Up 81Chapter 5: Favorite Twitter® Searches App 83 Collections and Cocoa GUI Programming 5.1 Introduction 845.2 Test-Driving the Favorite Twitter Searches App 855.3 Technologies Overview 865.4 Building the App 865.5 Wrap-Up 101Chapter 6: Flag Quiz Game App 102 Controllers and the Utility Application Template 6.1 Introduction 1036.2 Test-Driving the Flag Quiz Game App 1066.3 Technologies Overview 1066.4 Building the App 1076.5 Wrap-Up 127Chapter 7: Spot-On Game App 129 Using UIView and Detecting Touches 7.1 Introduction 1307.2 Test-Driving the Spot-On Game App 1327.3 Overview of the Technologies 1327.4 Building the App 1327.5 Wrap-Up 147Chapter 8: Cannon Game App 154 Animation with NSTimer and Handling Drag Events 8.1 Introduction 1558.2 Test-Driving the Cannon Game app 1568.3 Overview of the Technologies 1568.4 Building the App 1578.5 Wrap-Up 171Chapter 9: Painter App 173 Using Controls with a UIView 9.1 Introduction 1749.2 Overview of the Technologies 1749.3 Building the App 1759.4 Wrap-Up 191Chapter 10: Address Book App 193 Tables and UINavigationController 10.1 Introduction 19410.2 Test-Driving the Address Book App 19610.3 Technologies Overview 19610.4 Building the App 19710.5 Wrap-Up 219Chapter 11: Route Tracker App 220 Map Kit and Core Location (GPS and Compass) 11.1 Introduction 22111.2 Test-Driving the Route Tracker App 22411.3 Technologies Overview 22411.4 Building the App 22511.5 Wrap-Up 238Chapter 12: Slideshow App 240 Photos and iPod Library Access 12.1 Introduction 24112.2 Test-Driving the Slideshow App 24412.3 Technologies Overview 24512.4 Building the App 24512.5 Wrap-Up 276Chapter 13: Enhanced Slideshow App 278 Serialization Data with NSCoder and Playing Video 13.1 Introduction 27913.2 Test-Driving the Enhanced Slideshow App 28113.3 Overview of the Technologies 28213.4 Building the App 28213.5 Suggested Enhancements 30913.6 Wrap-Up 309Chapter 14: Voice Recorder App 310 Audio Recording and Playback 14.1 Introduction 31114.2 Test-Driving the Voice Recorder App 31414.3 Overview of the Technologies 31414.4 Building the App 31514.5 Speech Synthesis and Recognition 34114.6 Wrap-Up 341Chapter 15: Enhanced Address Book App 342 Managing and Transferring Persistent Data 15.1 Introduction 34315.2 Test-Driving the Enhanced Address Book App 34515.3 Technologies Overview 34515.4 Building the App 34615.5 Wrap-Up 362Chapter 16: Twitter® Discount Airfares App 364Internet Enabled Applications 16.1 Introduction 36516.2 Test-Driving the Twitter Discount Airfares App 36616.3 Technologies Overview 36616.4 Building the App 36616.5 Wrap-Up 386Index 387

\ From the PublisherPre-publication Reviewer Testimonials\ “I wish I’d had this book in my hands when I started developing on the iPhone. What took me a lot of time and many mistakes to learn is beautifully explained in a clear, concise style that will take you from zero to publishing your first app in no time.”\ —Marcantonio Magnarapa, Research & Development on Mobile Platforms, Ogilvy Interactive\ “Covers a wide variety of iPhone programming topics, including advanced features like Core Location, video playback and asynchronous network communication. It provides badly needed advice on how to use XCode, how to submit your app to the App Store, how to set your price, and how to deal with many other non-programming issues that surround iPhone development. It gives a quick start to iPhone programming, showing how to build 14 complete iPhone apps, several of which provide day-to-day usability. For each app, the book briefly describes the purpose of the app, the Objective-C and Cocoa technologies used to build it, and a detailed line-by-line walkthrough of the app’s source code. All of the source code and project files are available for download so that you can compile and test-drive each of the apps as you read along. I really like the way that the reader is introduced to the completed app for each chapter up front, providing a framework for the discussion of how to build it. This book fits the bill for any programmer interested in taking up iPhone development.”\ —Zach Saul, Founder, Retronyms , and co-creator of Recorder—one of the top 10 selling iPhone apps for 2008\ “At last an iPhone development book for the serious professional. Provides solid, real world applications, many of which would not look out of place in the App Store itself. The book’s excellent writing takes the user on a line-by-line analysis of the complexities of SDK 3.x programming. This text will never be far from the professional programmer’s side and provides so much more than a regurgitation of existing reference documentation. One of the best books on the subject and a must-have for any developer’s bookcase. This really is turning into the definitive iPhone book.“\ —Rik Watson, Senior Software Engineer, Lockheed Martin\ \ \