Home > Store > Home & Office Computing > Mac OS X

larger cover

Add To My Wish List

Xcode 3 Unleashed

  • By Fritz Anderson
  • Published Jul 17, 2008 by Sams. Part of the Unleashed series.
    • Copyright 2009
    • Dimensions: 7 X 9-1/8
    • Pages: 560
    • Edition: 1st
    • Book
    • ISBN-10: 0-321-55263-6
    • ISBN-13: 978-0-321-55263-1
    • eBook (Watermarked)
    • ISBN-10: 0-321-55281-4
    • ISBN-13: 978-0-321-55281-5

Register your product to gain access to bonus material or receive a coupon.

  • Description
  • Reviews
  • Sample Content
  • Updates

Product Author Bios

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.

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

 

Customer Reviews

34 of 35 people found the following review helpful
5.0 out of 5 stars The BEST way to get familiar with the Xcode Environment., August 21, 2008
This review is from: Xcode 3 Unleashed (Paperback)
As another reviewer so kindly mentioned, this book is not for those new to programming, objective-c, or object oriented development. It is Perfect for those of us with a strong background in development that are looking for a walkthrough of the Xcode development environment.

This book makes an excellent followup to Cocoa- Programming for Mac- OS X, Third edition This text moves well beyond cocoa development theory into giving readers a very visual (tons of color screenshots and diagrams) tour of the XCode environment by walking them step-by-step through building a project that implements most of the features that beginning cocoa developers will want to know about when trying to break into the OSX Development world.

One of the biggest plusses about this book has to be the attention given to the Debugger, Unit... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


19 of 20 people found the following review helpful
4.0 out of 5 stars Good intro to Xcode, but not Cocoa, September 15, 2008
By 
Jonathan Buys (Des Moines, IA) - See all my reviews
(REAL NAME)   
This review is from: Xcode 3 Unleashed (Paperback)
I was given this book by being a member of the Des Moines Cocoaheads group, and as a new developer on the Mac, I was very grateful for it. While other books provide a better introduction to Cocoa and Objective-C, Xcode 3 Unleashed fills a gap by providing detailed explanations of the Xcode IDE itself.

I was able to immediately make use of Chapter 8, Version Control, in my project. That chapter alone is almost worth the cost of the book. It steps you through creating a local repository, adding your project to the repository, committing changes, comparing files, and rolling back changes. After using the built in subversion support in Xcode, relying on Time Machine for version control seems archaic.

Fritz Anderson also spends a good deal of time introducing Xcode to developers more familiar with UNIX and Linux development. Chapter 21 is dedicated to "make Veterans", and explains how Xcode builds a project under the hood. This book also includes separate... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


11 of 11 people found the following review helpful
5.0 out of 5 stars One of the best books I've read on Mac OS X development!, August 20, 2008
By 
Gary Bennett (Scottsdale, AZ.) - See all my reviews
(REAL NAME)   
This review is from: Xcode 3 Unleashed (Paperback)
This is a great book. It is not a pure Cocoa Development book, although it does cover some aspects of Cocoa Development. This goes into all the critical pieces of XCode, i.e. the IDE, Debugger, Source Control, Instrumentation, etc.

Very well illustrated with great layou. I've been a developer for almost 20 years. Have lots of development books. This ranks up there with the best. Makes a perfect companion to Aaron Hillegrass's "Cocoa Programming for Mac OS X" 3RD EDITION. If you're new to Mac OS X Cocoa and iPhone development, the learning curve is steep, but these two books will get you on your way. Have Fun!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


Share your thoughts with other customers:
 See all 19 customer reviews...

Online Sample Chapter

Understanding Instruments in Xcode 3

Table of Contents

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

Sample Pages

Download the sample pages

 
Best Value

Book + eBook Bundle  $98.98  $59.39

Book Price: $43.99
eBook Price: $15.40

Buy

This book includes free shipping!

Buy

Book  $54.99  $43.99

Usually ships in 24 hours.

This book includes free shipping!

Buy

eBook (Watermarked)  $43.99  $35.19

About Watermarked eBooks

This PDF will be accessible from your Account page after purchase and requires the free Adobe® Reader® software to read it.

The eBook requires no passwords or activation to read. We customize your eBook by discretely watermarking it with your name, making it uniquely yours.

Watermarked eBook FAQ

Purchase Reward: One Month Free Subscription
By completing any purchase on InformIT, you become eligible for an unlimited access one-month subscription to Safari Books Online.

Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.