did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780321552631

Xcode 3 Unleashed

by
  • ISBN13:

    9780321552631

  • ISBN10:

    0321552636

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2008-07-17
  • Publisher: Sams Publishing
  • View Upgraded Edition
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $54.99

Summary

Applers"s new Xcode 3 is the most powerful Mac development suite ever created. InXcode 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. Yours"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 Applers"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 yours"re working solo or participating in a worldwide team. He thoroughly illuminates Xcode 3rs"s build system and shows how to make the most of Applers"s performance tools, led by the deep and powerful Shark statistical profiler. Systematically updated for Xcode 3.x, this is a comprehensive revision of Andersonrs"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 tohellip; Succeed with every stage of the Mac OS X application lifecycle Make the most of Xcode 3rs"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

Author Biography

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.

Table of Contents

Introduction1
The Life Cycle of a Mac OS X Application
Kicking the Tiresp. 11
Simple Workflow and Passive Debuggingp. 19
Simple Active Debuggingp. 29
Compilation: The Basicsp. 39
Starting a Cocoa Applicationp. 47
A Cocoa Application: Viewsp. 63
A Cocoa Application: Controllersp. 75
Version Controlp. 93
Property Listsp. 117
Libraries and Dependent Targetsp. 141
File Packages and Bundlesp. 153
Unit Testingp. 167
Creating a Custom Viewp. 181
Dynamic Libraries and Frameworksp. 203
Documentation in Xcodep. 221
Using the Data Modeling Toolsp. 243
Cross-Developmentp. 267
Spotlight (or, How to Build a Plug-in)p. 281
Finishing Touchesp. 301
Xcode Tasks
Navigating an Xcode Projectp. 331
Xcode for make Veteransp. 353
More About Debuggingp. 373
Xcode and Speedp. 395
A Legacy Projectp. 403
Shark and the CHUD Toolsp. 421
Instrumentsp. 437
Closing Snippetsp. 461
Appendices
Some Build Variablesp. 475
Project and Target Templatesp. 485
Other Resourcesp. 501
Indexp. 507
Table of Contents provided by Publisher. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Excerpts

Introduction IntroductionIN THIS INTRODUCTIONWhat Xcode IsWhat's New in Xcode 3Obtaining XcodeInstalling XcodeFrom the moment it first published Mac OS X, Apple, Inc., has made a complete suite of application development tools available to every user of the Macintosh. Since Mac OS X version 10.3, those tools have been led by Xcode, the integrated development environment Apple's own engineers use to develop system software and applications such as Safari, iTunes, Mail, and iChat. If you own a Mac, these same tools are in your hands today. What's New in Xcode 3In October 2007, with the introduction of Mac OS X 10.5 (Leopard), Apple introduced version 3 of the Xcode developer tools suite. Among the changes wereExtensive improvements to the Xcode integrated development environment (IDE), includingSupport for Objective-C 2.0, the first major revision to the language, with commands for converting existing code to the new language.Improved syntax coloring, now including distinctive colors for symbols like instance variables and method names.Code Focus, a ribbon beside the editor text that lets you see how blocks of code are organized, and allows you to fold long blocks down to the height of a single line.The projectwide Find command now works through the Spotlight text-searching engine, yielding better results faster.A debugger bar, offering simple debugging controls in any editor window.Datatips, allowing you to inspect the values of program variables during debugging, just by hovering the cursor over them in the code.A mini-debugger, injected into the programs you run, permitting debugging during mouse-down events and other "volatile" situations.Automatic access to the debugger whenever a program you run from Xcode crashes.Improved compile-time error reporting, interleaving compiler messages with the code they relate to.Automated refactoring, helping you rename classes, methods, and functions, shift methods from class to class, and even create new super classes, in an Objective-C project.Much improved support for source code management tools such as Subversion, CVS, and Perforce.Much improved support for using UNIX scripting languages to create and edit text.The Organizer, a window to hold references to frequently used files and projects.Among the command-line tools, the new xed tool enables you to open text files in Xcode, when a shell script or tool demands an interactive editor.A major upgrade to the documentation system, using RSS feeds for live updates, and permitting developers to add their own documentation to the system.A Research Assistant window that documents API symbols and build variables in real time, as they are selected.A completely revamped Interface Builder, with better tools for crafting nonvisual parts of the human interface, such as controller objects. Integration between IB and Xcode is even tighter than before.A new tool, Instruments, for profiling the resource usage (memory, I/O, graphics, threading) of a program, in real time, on a timeline so that you can see how each element of the performance picture relates to all the others.Xcode 3 is a ground-up rebuild of the Mac OS X developer tools, and it has been well worth the wait. Obtaining XcodeIf you have an installation DVD for Mac OS X 10.5 or a new Mac on which Leopard has come installed, you already have Xcode. On the DVD, an installation package can be found in the Xcode Tools folder inside the Optional I

Rewards Program