Beginning iPhone 3 Development: Exploring the iPhone SDK (Paperback)

Dave Mark, Jeff LaMarche

  • 出版商: Apress
  • 出版日期: 2009-07-21
  • 定價: $1,280
  • 售價: 2.3$299
  • 語言: 英文
  • 頁數: 584
  • 裝訂: Paperback
  • ISBN: 1430224592
  • ISBN-13: 9781430224594
  • 立即出貨(限量) (庫存=1)

買這商品的人也買了...

商品描述

Are you a programmer looking for a new challenge? Does the thought of building your very own iPhone app make your heart race and your pulse quicken? If so, Beginning iPhone 3 Development: Exploring the iPhone SDK is just the book for you. Updated and revised for iPhone SDK 3, many of the discussions in the original book have been clarified to make some of the more complex topics easier to understand. In addition, all of the projects have been rebuilt from scratch using the SDK 3 templates.

Assuming only a minimal working knowledge of Objective-C, and written in a friendly, easy-to-follow style, this book offers a complete soup-to-nuts course in iPhone and iPod touch programming. The book starts with the basics, walking you through the process of downloading and installing Apple's free iPhone SDK, and then stepping you though the creation of your first simple iPhone application. From there, you'll learn to integrate all the interface elements iPhone users have come to know and love, such as buttons, switches, pickers, toolbars, and sliders. You'll master a variety of design patterns, from the simplest single view to complex hierarchical drill-downs. The confusing art of table building will be demystified, and you'll see how to save your data using the iPhone file system. You'll also learn how to save and retrieve your data using SQLite, iPhone's built-in database management system. In addition, you'll also learn about Core Data, an important persistence mechanism that has just been added with SDK 3.

And there's much more! You'll learn to draw using Quartz 2D and OpenGL ES, add multitouch gestural support (pinches and swipes) to your applications, and work with the camera, photo library, accelerometer, and built-in GPS. You'll discover the fine points of application preferences and learn how to localize your apps for multiple languages. You can discover more about this book, download source code, and find support forums at the book's companion site, at www.iphonedevbook.com.

  • The iPhone 3 update to the best-selling and most recommended book for iPhone developers
  • Packed full of tricks, techniques, and enthusiasm for the new SDK from a developer perspective
  • The most complete, useful, and up-to-date guide to all things having to do with Apple's iPhone SDK

What you'll learn

  • Everything you need to know to develop your own best-selling iPhone apps
  • Best practices for optimizing your code and delivering great user experiences

Who is this book for?

Anyone who wants to start developing for iPhone and iPod touch

What's changed from the first edition of Beginning iPhone Development

  • All code samples have been updated to follow current Apple coding conventions
  • The autorotation code has been updated to use the new single-step fast autorotation instead of the original two-step method
  • A new section has been added introducing Core Data, covering basic principles and showing how to build a simple Core Data application
  • All the table view'related chapters have been updated to use table view cell styles. They've also been updated to use textLabel and detailTextLabel instead of the deprecated text property of the table view cell.
  • All known errata have been corrected
  • All projects have been rebuilt from scratch using the SDK 3.0 templates
  • Many concepts have been clarified based on feedback and supplemented with information we've learned from another year of using the SDK

Summary of Contents

  1. Welcome to the Jungle
  2. Appeasing the Tiki Gods
  3. Handling Basic Interaction
  4. More User Interface Fun
  5. Autorotation and Autosizing
  6. Multiview Applications
  7. Tab Bars and Pickers
  8. Introduction to Table Views
  9. Navigation Controllers and Table Views
  10. Application Settings and User Defaults
  11. Basic Data Persistence
  12. Drawing with Quartz and OpenGL
  13. Taps, Touches, and Gestures
  14. Where Am I? Finding Your Way with Core Location
  15. Whee! Accelerometer!
  16. iPhone Camera and Photo Library
  17. Application Localization
  18. Where to Next?

Reviews

"People ask me again and again about how to get started in iPhone development, but I never had a very good answer for them until now. Dave and Jeff's book starts at the beginning in clear English, making sure you understand the fundamentals with many large illustrations. From there, they progress into key concepts such as the MVC pattern and ImageBuilder fundamentals. Additionally, I find myself flipping back to it as a reference guide—the plethora of code samples make it a must-have."

—Steve Demeter, Creator of "Trism" and owner of Demiforce LLC

"Beginning iPhone Development delivers a clear picture of the entire development process from registering as an iPhone developer through creation of complete applications. There is a wealth of examples illustrating each feature of the iPhone. The authors did an excellent job of demonstrating "best practice" coding methodology throughout the book. You would be hard pressed to find a better guide to creating software for the iPhone."

—Aaron Basil, iDev2.com

"Dave Mark has always been the king of Mac programming authors, and now he's proven to be the reigning king for books on iPhone development!

"Beginning iPhone Development is the definitive guide for iPhone development, and anyone aspiring to develop for the iPhone should get this invaluable reference."

—Brian Greenstone, President & CEO, Pangea Software, Inc.

"Jeff and Dave have done an exceptional job exploring the iPhone SDK. This book is far and away the single best resource for iPhone SDK development. Developers will latch on to this book and find it useful as they create the next great iPhone application. If you're a developer with an interest in this amazing new platform, this is a must buy."

—Chris Stewart, Founder, iPhoneDevSDK.com

"If you're planning on coding for the iPhone, start here. Dave and Jeff know their stuff and also know how to explain it. I was amazed how much stuff they cover, from Hello World through analyzing user gestures. Not only do they cover the fun stuff like playing with the camera, they cover real-world development issues like localization. I learned a huge amount from them"

—Mark Dalrymple, Co-founder, CocoaHeads, and Principal Author, Advanced Mac OS X Programming

"Starting with an overview of the technology, how to approach the device, the authors lead us straight into the heart of iPhone development. As you progress, you'll learn more about various layout engines and view managers, as well as the more meaty topics like accelerometer and GPS APIs. This book is a must-have for anyone interested in getting started quickly and efficiently with iPhone development!"

—Chris Pelsor, Manager, Tarantell:Hybrid

"All in all I was very surprised and pleased with the book. I've had the fortune of reading many technical books, and few do a great job of walking someone through the basics without making them feel like a dolt. It felt like every time I was stuck or unsure there was a tip, hint or paragraph which explained what was going on."

—Cory Foy, at Slashdot.org

About the Apress Beginning Series

The Beginning series from Apress is the right choice to get the information you need to land that crucial entry–level job. These books will teach you a standard and important technology from the ground up because they are explicitly designed to take you from “novice to professional.” You’ll start your journey by seeing what you need to know—but without needless theory and filler. You’ll build your skill set by learning how to put together real–world projects step by step. So whether your goal is your next career challenge or a new learning opportunity, the Beginning series from Apress will take you there—it is your trusted guide through unfamiliar territory!

商品描述(中文翻譯)

你是一個尋找新挑戰的程式設計師嗎?想到自己建立一個屬於自己的 iPhone 應用程式是否讓你心跳加速?如果是的話,《Beginning iPhone 3 Development: Exploring the iPhone SDK》這本書就是為你而寫的。這本書已經更新並修訂為 iPhone SDK 3 版本,原書中的討論已經澄清,使一些較複雜的主題更容易理解。此外,所有的專案都使用 SDK 3 的範本從頭重新建立。

本書假設你只具有最基本的 Objective-C 工作知識,並以友善、易於理解的風格撰寫,提供了一個完整的 iPhone 和 iPod touch 程式設計課程。本書從基礎知識開始,引導你通過下載和安裝蘋果免費的 iPhone SDK,然後逐步引導你創建第一個簡單的 iPhone 應用程式。從那裡開始,你將學習整合 iPhone 用戶熟悉和喜愛的所有介面元素,如按鈕、開關、選擇器、工具欄和滑塊。你將掌握各種設計模式,從最簡單的單一視圖到複雜的階層式鑽取。這本書將揭開建立表格的迷思,並展示如何使用 iPhone 檔案系統保存數據。你還將學習如何使用 SQLite,在 iPhone 內建的數據庫管理系統中保存和檢索數據。此外,你還將了解 Core Data,這是一個重要的持久化機制,剛剛在 SDK 3 中新增。

還有更多!你將學習使用 Quartz 2D 和 OpenGL ES 進行繪圖,為應用程式添加多點觸控手勢支持(捏和滑動),並使用相機、照片庫、加速度計和內建 GPS 進行操作。你將了解應用程式偏好設置的細節,並學習如何將應用程式本地化為多種語言。你可以在本書的配套網站 www.iphonedevbook.com 上了解更多信息,下載源代碼並找到支援論壇。


  • 這是最暢銷且最受推薦的 iPhone 開發書籍的 iPhone 3 更新版

  • 從開發者的角度,充滿了技巧、技術和熱情,適用於新 SDK

  • 這是關於蘋果 iPhone SDK 的最完整、最有用和最新的指南

你將學到什麼



  • 開發自己的暢銷 iPhone 應用程式所需的一切

  • 優化代碼並提供出色的用戶體驗的最佳實踐

這本書適合誰?


任何想開始開發 iPhone 和 iPod touch 的人

與《Beginning iPhone Development》第一版相比有哪些變化?



  • 所有代碼示例都已更新以遵循當前的蘋果編碼慣例

  • 自動旋轉代碼已更新為使用新的單步快速自動旋轉,而不是原始的兩步方法

  • 新增了一個介紹 Core Data 的新章節,介紹基本原則並展示如何構建一個簡單的 Core Data 應用程式

  • 所有與表格視圖相關的章節都已更新為使用表格視圖單元格樣式。它們還使用了表格視圖單元格的 textLabel 和 detailTextLabel 屬性,而不是已棄用的 text 屬性。

  • 已糾正所有已知的勘誤

  • 所有專案都使用 SDK 3.0 的範本從頭重新建立

  • 根據反饋澄清了許多概念,並補充了我們從使用 SDK 的另一年中學到的信息

內容摘要



  1. 歡迎來到叢林

  2. 取悅 Tiki 神

  3. 處理基本互動

  4. 更多使用者介面樂趣

  5. 自動旋轉和自動調整大小

  6. 多視圖應用程式

  7. 選項卡欄