Xcode 3 Unleashed by Fritz Anderson, Paperback | Barnes & Noble
Xcode 3 Unleashed

Xcode 3 Unleashed

1.5 2
by 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.

Overview

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

Product Details

ISBN-13:
9780321552631
Publisher:
Sams
Publication date:
08/15/2008
Series:
Unleashed Series
Pages:
534
Product dimensions:
8.94(w) x 6.92(h) x 1.13(d)

Related Subjects

Meet the Author

Fritz Anderson has been writing software, books, and articles for the Macintosh since 1984. He has worked for research and development firms, consulting practices, and freelanced. He has been admitted to the Indiana bar but thought better of it. He now lives in Chicago, where he works for a large university.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

Xcode 3 Unleashed 1.5 out of 5 based on 0 ratings. 2 reviews.
Kludge More than 1 year ago
The book is virtually useless because Xcode's compiler has been updated so much. For instance the very first example, once you fix the missing comma, it actually runs without any errors. This book was written for Xcode 3.0 but they're up to Xcode 3.2.3 now and the next release will be 4.0 in a few months. I had no problem with the math, programming is a form of language with math intertwined so I actually found that bit very nice. I actually gave up on the book shortly after buying it because there's no source code available online so you have to type in all the code yourself. If you buy the PDF version from Safari like I did it doesn't come with the any code (the hard copy does have a CD). The reason I picked it back up today was because I ran across the author's website for the source code at x3u (dot) manoverboard (dot) org but unfortunately the author did not keep his promise to publish updates so there's not new info even for Xcode 3.1. Over all I can not recommend this book even a little bit and am quite disappointed in my own purchase.
Anonymous More than 1 year ago
I was excited at first. The book has lots of screen shots to illustrate the step-by-step approach to downloading and installing the developers kit. Being a coder for decades, Part 1 was simple to understand. Then we get to Chapter 2, page 20, where our first practice example is coding a linear regression routine. (Apparently, plotting Space Shuttle trajectory options based on fuel/load capacities was too easy.) The rest of the book expands using more and more complex mathematics. This is not what I was looking for.