Xcode 3 Unleashed (Paperback)
暫譯: Xcode 3 完全解析 (平裝本)

Fritz Anderson

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

相關主題

商品描述

Apple’s new Xcode 3 is the most powerful Mac development suite ever created. In Xcode 3 Unleashed, renowned Mac developer Fritz Anderson has written the definitive guide to making the most of Xcode 3 to build any Macintosh or iPhone application.

 

Anderson leads you through a simple project that covers the entire Xcode 3.x development lifecycle. You’ll walk through building and debugging command-line tools, creating Mac OS X user interfaces, modeling data, localizing languages, compiling applications, and much more. Along the way, he introduces each of Apple’s remarkable development tools from the latest version of Interface Builder to Instruments—a powerful new tool for analyzing and optimizing your code.

 

Anderson shows how to manage your source code in any environment, whether you’re working solo or participating in a worldwide team. He thoroughly illuminates Xcode 3’s build system and shows how to make the most of Apple’s performance tools, led by the deep and powerful Shark statistical profiler.

 

Systematically updated for Xcode 3.x, this is a comprehensive revision of Anderson’s previous bestseller, Step into Xcode. Its breadth, depth, and practical focus will make it indispensable to every Mac developer: experienced programmers upgrading from Xcode 2 or migrating from CodeWarrior; UNIX/Linux programmers moving to Mac OS X; even new programmers.

 

Detailed information on how to…

  • Succeed with every stage of the Mac OS X application lifecycle
  • Make the most of Xcode 3’s core tools for editing, debugging, testing, and compilation
  • Get the most from new improvements to Interface Builder
  • Create robust applications using the Model-View-Controller paradigm
  • Utilize dynamic libraries and frameworks
  • Build Universal Binaries to run on both Intel and PowerPC Macs
  • Add Spotlight searchability to data files
  • Profile memory, I/O, graphics, and threading in real-time
  • Accelerate both your applications and your development processes
  • Leverage new improvements to the Xcode documentation system
  • Avoid header ambiguity, disappearing links, and other Xcode development pitfalls

Introduction 1

 

Part I: The Life Cycle of a Mac OS X Application

Chapter 1: Kicking the Tires 11

Chapter 2: Simple Workflow and Passive Debugging 19

Chapter 3: Simple Active Debugging 29

Chapter 4: Compilation: The Basics 39

Chapter 5: Starting a Cocoa Application 47

Chapter 6: A Cocoa Application: Views 63

Chapter 7: A Cocoa Application: Controllers 75

Chapter 8: Version Control 93

Chapter 9: Property Lists 117

Chapter 10: Libraries and Dependent Targets 141

Chapter 11: File Packages and Bundles 153

Chapter 12: Unit Testing 167

Chapter 13: Creating a Custom View 181

Chapter 14: Dynamic Libraries and Frameworks 203

Chapter 15: Documentation in Xcode 221

Chapter 16: Using the Data Modeling Tools 243

Chapter 17: Cross-Development 267

Chapter 18: Spotlight (or, How to Build a Plug-in) 281

Chapter 19: Finishing Touches 301

 

Part II: Xcode Tasks

Chapter 20: Navigating an Xcode Project 331

Chapter 21: Xcode for make Veterans 353

Chapter 22: More About Debugging 373

Chapter 23: Xcode and Speed 395

Chapter 24: A Legacy Project 403

Chapter 25: Shark and the CHUD Tools 421

Chapter 26: Instruments 437

Chapter 27: Closing Snippets 461

 

Appendices

Appendix A: Some Build Variables 475

Appendix B: Project and Target Templates 485

Appendix C: Other Resources 501

 

Index 507

 

商品描述(中文翻譯)

Apple 的新版本 Xcode 3 是有史以來最強大的 Mac 開發套件。在《Xcode 3 Unleashed》中,著名的 Mac 開發者 Fritz Anderson 撰寫了這本關於如何充分利用 Xcode 3 來構建任何 Macintosh 或 iPhone 應用程式的權威指南。

Anderson 帶領您完成一個簡單的專案,涵蓋整個 Xcode 3.x 的開發生命週期。您將學習如何構建和調試命令行工具、創建 Mac OS X 使用者介面、建模數據、本地化語言、編譯應用程式等等。在這個過程中,他介紹了 Apple 的每一個卓越開發工具,從最新版本的 Interface Builder 到 Instruments——一個強大的新工具,用於分析和優化您的代碼。

Anderson 展示了如何在任何環境中管理您的源代碼,無論您是獨立工作還是參與全球團隊。他徹底闡明了 Xcode 3 的構建系統,並展示了如何充分利用 Apple 的性能工具,以深度且強大的 Shark 統計分析器為首。

這本針對 Xcode 3.x 系統性更新的書籍,是 Anderson 之前暢銷書《Step into Xcode》的全面修訂版。其廣度、深度和實用性將使其成為每位 Mac 開發者不可或缺的資源:無論是從 Xcode 2 升級的經驗豐富的程式設計師,還是從 CodeWarrior 遷移的程式設計師;UNIX/Linux 程式設計師轉向 Mac OS X;甚至是新手程式設計師。

詳細資訊包括如何…

- 在 Mac OS X 應用程式生命週期的每個階段取得成功
- 充分利用 Xcode 3 的核心工具進行編輯、調試、測試和編譯
- 從 Interface Builder 的新改進中獲益
- 使用模型-視圖-控制器(Model-View-Controller)範式創建穩健的應用程式
- 利用動態庫和框架
- 構建通用二進位檔以在 Intel 和 PowerPC Mac 上運行
- 為數據文件添加 Spotlight 搜索功能
- 實時分析記憶體、I/O、圖形和執行緒
- 加速您的應用程式和開發過程
- 利用 Xcode 文檔系統的新改進
- 避免標頭模糊、消失的鏈接和其他 Xcode 開發陷阱

引言 1

第一部分:Mac OS X 應用程式的生命週期
第 1 章:試駕 11
第 2 章:簡單工作流程和被動調試 19
第 3 章:簡單主動調試 29
第 4 章:編譯:基礎 39
第 5 章:啟動 Cocoa 應用程式 47
第 6 章:Cocoa 應用程式:視圖 63
第 7 章:Cocoa 應用程式:控制器 75
第 8 章:版本控制 93
第 9 章:屬性列表 117
第 10 章:庫和依賴目標 141
第 11 章:文件包和捆綁 153
第 12 章:單元測試 167
第 13 章:創建自定義視圖 181
第 14 章:動態庫和框架 203
第 15 章:Xcode 中的文檔 221
第 16 章:使用數據建模工具 243
第 17 章:跨開發 267
第 18 章:Spotlight(或,如何構建插件) 281
第 19 章:最後潤飾 301

第二部分:Xcode 任務
第 20 章:導航 Xcode 專案 331
第 21 章:Xcode 對於 make 老手 353
第 22 章:更多關於調試 373
第 23 章:Xcode 和速度 395
第 24 章:遺留專案 403
第 25 章:Shark 和 CHUD 工具 421
第 26 章:Instruments 437
第 27 章:結尾片段 461

附錄
附錄 A:一些構建變數 475
附錄 B:專案和目標模板 485
附錄 C:其他資源 501

索引 507