Synopses & Reviews
This practical book offers the knowledge and code you need to create cutting-edge mobile applications and games for the iPhone and iPod Touch, using Apple's iPhone SDK. iPhone SDK Application Development introduces you to this development paradigm and the Objective-C language it uses with numerous examples, and also walks you through the many SDK frameworks necessary for designing full-featured applications.
This book will help you:
- Design user interface elements with Interface Builder and the UI Kit framework
- Create application controls, such as windows and navigation bars
- Build and manage layers and transformations using Core Graphics and Quartz Core
- Mix and play sound files using AVFoundation, and record and play back digital sound streams using Audio Toolbox
- Handle network programming with the CFNetwork framework
- Use the Core Location framework to interact with the iPhone's GPS
- Add movie players to your application
iPhone SDK Application Development will benefit experienced developers and those just starting out on the iPhone. Important development concepts are explained thoroughly, and enough advanced examples are provided to make this book a great reference once you become an expert.
This practical book offers programmers the knowledge and code they need to create cutting-edge mobile applications, using Apple's iPhone SDK. The iPhone is one of the hottest new pieces of technology: a fully functional portable Unix operating system with the most advanced handheld user interface in existence. iPhone SDK Application Development covers development environment for both the iPhone and iPod Touch, from windows and navigation bars to more advanced layers of the iPhone SDK, such as screen transitions, low-level graphics rendering using CoreSurface, the MultiTouch API, and digital sound and music rendering with Celestial and CoreAudio. With this book, you will:
Understand how the iPhone works internally, with a complete introduction to the technology Learn how different iPhone components interact with each other Use your existing Mac OS X development skills by understanding the similarities between iPhone and Mac OS X Leopard Learn about the iPhone-specific APIs, such as the user interface, to develop custom iPhone applications Get code examples to help you write various features of your application
With iPhone SDK Application Development, you'll learn how to create effective iPhone applications and games with the same tools Apple uses.
This practical book offers programmers the knowledge and code they need to create cutting-edge mobile applications, using Apple's iPhone SDK. It covers development environment for both the iPhone and iPod Touch, from windows and navigation bars to more advanced layers of the iPhone SDK, such as screen transitions.
If you\'re interested in developing applications for Apple\'s Mac OS X platform, but prefer to use a sleek, developer-friendly language, MacRuby is ideal. This in-depth guide shows you how this Apple implementation of the Ruby language provides access to all of the features available to Objective-C programmers. You\'ll get clear, detailed explanations of MacRuby, including quick programming techniques such as prototyping classes.
Ideal for programmers of all experience levels, MacRuby: The Definitive Guide is packed with code samples. If you\'re a programmer familiar with Ruby, you can tap your skills to take advantage of Interface Builder, the Cocoa libraries, Objective-C runtime, and more. If you already develop with Cocoa, you\'ll discover how MacRuby will improve your productivity.
- MacRuby basics, including classes and methods
- Advanced features, such as selectors, blocks, and concurrency
- Primitive object classes and data types in Cocoa\'s Foundation framework
- AppKit classes for building Mac OS X GUI applications
- Relational object persistence with Cocoas Core Data data model framework
- Apple\'s Xcode suite of developer tools, including Interface Builder
About the Author
Jonathan Zdziarski is better known as the hacker "NerveGas" in the iPhone development community. His work in cracking the iPhone helped lead the effort to port the first open source applications, and his book, iPhone Open Application Development, taught developers how to write applications for the popular device long before Apple introduced its own SDK. Prior to the release of iPhone Forensics, Jonathan wrote and supported an iPhone forensics manual distributed exclusively to law enforcement. Jonathan frequently consults law enforcement agencies and assists forensic examiners in their investigations. He teaches an iPhone forensics workshop in his spare time to train forensic examiners and corporate security personnel.
Jonathan is also a full-time research scientist specializing in machine learning technology to combat online fraud and spam, an effort that led him to develop networking products capable of learning how to protect customers. He is founder of the DSPAM project, a high-profile, next-generation spam filter that was acquired in 2006 by Sensory Networks, Inc. He lectures widely on the topic of spam and is a foremost researcher in the fields of machine-learning and algorithmic theory.
Jonathan's website is zdziarski.com.
Table of Contents
Foreword; Preface; Audience for This Book; Organization of the Material; Conventions Used in This Book; Using Code Examples; Legal Disclaimer; Safari® Books Online; We'd Like to Hear from You; Acknowledgments; Chapter 1: Getting Started with the iPhone SDK; 1.1 Anatomy of an Application; 1.2 Installing the iPhone SDK; 1.3 Provisioning an iPhone; 1.4 Building and Installing Applications; 1.5 Transitioning to Objective-C; Chapter 2: Interface Builder: Xcode's GUI for GUIs; 2.1 Windows, Views, and View Controllers; 2.2 Existing Templates; 2.3 New Templates; 2.4 User Interface Elements; 2.5 The Inspector; 2.6 Designing a UI; 2.7 Removing Interface Builder from a Project; Chapter 3: Introduction to UI Kit; 3.1 Basic User Interface Elements; 3.2 Windows and Views; 3.3 View Controllers; 3.4 Text Views; 3.5 Navigation Bars and Controllers; 3.6 Transition Animations; 3.7 Action Sheets and Alerts; 3.8 Table Views and Controllers; 3.9 Status Bar Manipulation; 3.10 Application Badges; 3.11 Application Services; 3.12 Invoking Safari; 3.13 Initiating Phone Calls; Chapter 4: Multi-Touch Events and Geometry; 4.1 Introduction to Geometric Structures; 4.2 Multi-Touch Events Handling; Chapter 5: Layer Programming with Quartz Core; 5.1 Understanding Layers; Chapter 6: Making a Racket: Audio Toolbox and AVFoundation; 6.1 AVFoundation Framework; 6.2 AVMeter: Build a VU Meter; 6.3 Audio Services; 6.4 Audio Queues; 6.5 Recording Sound; 6.6 Vibrating; Chapter 7: Network Programming with CFNetwork; 7.1 Basic Sockets Programming; 7.2 CFHTTP and CFFTP; Chapter 8: Getting a Fix: Core Location; 8.1 The Core Location Manager; Chapter 9: Address Book Frameworks; 9.1 Address Book Access; 9.2 Address Book UI; Chapter 10: Advanced UI Kit Design; 10.1 Common Controls; 10.2 Preferences Tables; 10.3 Section Lists; 10.4 Progress and Activity Indicators; 10.5 Images; 10.6 Keyboard Properties; 10.7 Pickers; 10.8 Date/Time Pickers; 10.9 Tab Bars; 10.10 Sensors and Device Information; 10.11 Scroll Views; 10.12 Web Views; Chapter 11: Application Settings; 11.1 Dictionaries and Property Lists; 11.2 Preference Bundles; Chapter 12: Cover Flow; 12.1 CovertFlow: SDK Cover Flow Programming; Chapter 13: Page Flicking; 13.1 PageControl: Page Flicking Example; 13.2 A PageScrollView for Many Views; Chapter 14: Media Player Framework; 14.1 Movie Player Controllers; Colophon;