Xcode 3 Unleashed (Paperback)

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

 

商品描述(中文翻譯)

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

Anderson帶領您完成一個簡單的專案,涵蓋了整個Xcode 3.x開發生命週期。您將學習建立和除錯命令行工具、創建Mac OS X用戶界面、建模數據、本地化語言、編譯應用程式等等。在此過程中,他介紹了蘋果最新版本的Interface Builder到Instruments這個強大的新工具,用於分析和優化您的程式碼。

Anderson展示了如何在任何環境中管理您的原始碼,無論您是獨自工作還是參與全球團隊。他詳細介紹了Xcode 3的建置系統,並展示了如何充分利用蘋果的性能工具,其中包括深入且強大的Shark統計分析器。

這本書是對Anderson之前暢銷書《Step into Xcode》的全面修訂,並針對Xcode 3.x進行了系統更新。它的廣度、深度和實用性將使每位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開發陷阱

引言
第一部分:Mac OS X應用程式的生命週期
第1章:初試啼聲
第2章:簡單的工作流程和被動除錯
第3章:簡單的主動除錯
第4章:編譯:基礎知識
第5章:開始一個Cocoa應用程式
第6章:Cocoa應用程式:視圖
第7章:Cocoa應用程式:控制器
第8章:版本控制
第9章:屬性列表
第10章:庫和相依目標
第11章:文件包和捆包
第12章:單元測試
第13章:創建自定義視圖
第14章:動態庫和框架
第15章:文件