Book description
Xcode is a powerful suite of free development tools from Apple Computer that will allow you to create Macintosh applications, plug-ins, web components, applets, and more using languages such as C, C++, Objective-C, Java, and AppleScript.
What you will learn from this book:
Control window layout to match your development style.
Master source file organization.
How to access a source control management system, right in the Xcode interface.
How to quickly navigate to files, symbols, bookmarks, declarations, and definitions within your project; find reference documents and instantly access API documentation.
Harness Xcode's smart editing features, such as auto-indent, code completion, and text macros.
Discover how easy it is to browse class information and create dynamic class diagrams.
Get started using Xcode's Interface Builder and Data Modeling design tools.
Learn to customize target build phases, add your own compilers, write your own build processes, and integrate Xcode with other build tools like Ant and gnumake.
How to create and integrate unit tests into your projects.
Harness the full power of the debugger with smart breakpoints and custom data formatters. Learn how to change variables, and even fix bugs, while your program is still running.
Start using Xcode's suite of performance analysis tools to find problems and accelerate your code.
Customize scores of hidden, and often undocumented, Xcode features. Learn how to remap keyboard commands, create your own project and file templates, and even add your own commands to the Xcode menus.
Instead of "cookbook" projects specific to a particular language, developer James Bucanek details each Xcode feature with step-by-step instructions that can be applied directly to your projects. Example projects that demonstrate a single concept make it easy to explore each feature.
Table of contents
- Copyright
- Credits
- About the Author
- Acknowledgments
- Introduction
- 1. Installing Xcode
- 2. The Grand Tour
- 3. Xcode Layout
-
4. The Project
-
4.1. Creating a New Project
- 4.1.1. Choosing a Template
- 4.1.2. Naming the New Project
- 4.1.3. What's in a Name?
- 4.1.4. Who's __MyCompanyName__?
- 4.1.5. Closing a Project
- 4.1.6. Opening One or More Projects
- 4.1.7. Renaming and Relocating Projects
- 4.1.8. Upgrading Projects
- 4.1.9. Old Project Templates
- 4.1.10. Importing ProjectBuilderWO (WebObjects) Projects
- 4.1.11. Migrating from CodeWarrior to Xcode
- 4.1.12. Migrating from Anything Else to Xcode
- 4.2. Project Attributes
- 4.3. Summary
- 4.4. Exercise
-
4.1. Creating a New Project
- 5. Sources
-
6. Editing Text
- 6.1. Windows and Panes
- 6.2. The Editor Pane
- 6.3. Display Options
- 6.4. Navigation Within a File
- 6.5. Editing
- 6.6. Syntax-Aware Editing
- 6.7. Indenting Text
- 6.8. Code Sense
- 6.9. Text Macros
- 6.10. Shell Scripts
- 6.11. Spell Checking
- 6.12. File Encoding
- 6.13. Localizing Files
- 6.14. Printing
- 6.15. Services
- 6.16. Using an External Editor
- 6.17. Summary
- 7. Searching
- 8. Class Browser
- 9. Help and Documentation
-
10. Interface Builder
- 10.1. NIB Files
- 10.2. Interface Builder's Interface
- 10.3. Creating Objects
- 10.4. Testing an Interface
- 10.5. Editing Objects
- 10.6. Custom Classes
- 10.7. NIB File Formats
- 10.8. Customizing Interface Builder
- 10.9. Summary
- 10.10. Exercise
- 11. Class Modeling
-
12. Data Modeling
- 12.1. Technology
- 12.2. Terminology
- 12.3. Creating a Data Model
- 12.4. Data Modeling Interface
- 12.5. Creating an Instant Interface
- 12.6. Creating NSManagedObject Subclasses
- 12.7. Exporting Class Methods
- 12.8. Summary
- 13. Targets
-
14. Building Projects
- 14.1. Starting and Stopping a Build
- 14.2. Clean Builds
- 14.3. Partial Builds
- 14.4. The Build Window
- 14.5. Common Build Preferences
- 14.6. Build Locations
- 14.7. Build Location Strategies
- 14.8. Build Settings
- 14.9. Build Configurations
- 14.10. Editing Build Settings
- 14.11. Editing Build Configurations
- 14.12. Configuration Files
- 14.13. Moving Build Settings Around
- 14.14. Environment Settings
-
14.15. Customizing the Build
- 14.15.1. Per-File Compiler Flags
- 14.15.2. Cross-Development
- 14.15.3. Building Universal Binaries
- 14.15.4. Disallowing ZeroLink
-
14.15.5. Build Settings in Detail
- 14.15.5.1. Products
- 14.15.5.2. Info.plist files
- 14.15.5.3. Search Paths
- 14.15.5.4. Pre-compiled Headers and Prefix Headers
- 14.15.5.5. C Compiler
- 14.15.5.6. Java Compiler
- 14.15.5.7. Other Compilers
- 14.15.5.8. Linker Settings
- 14.15.5.9. Kernel Modules
- 14.15.5.10. Deployment
- 14.15.5.11. Build Information
- 14.16. The xcodebuild Tool
- 14.17. Distributed Builds
- 14.18. Summary
- 14.19. Exercise
-
15. Debugging
- 15.1. Running an Application
- 15.2. Debugging Executables
- 15.3. Attaching to Running Executables
- 15.4. The Debugger Window
- 15.5. Controlling the Debugger
- 15.6. Debug Visualizer
-
15.7. Breakpoints
- 15.7.1. Breakpoint Types
- 15.7.2. Breakpoints Window
- 15.7.3. Deleting Breakpoints
- 15.7.4. Grouping Breakpoints
- 15.7.5. Enabling and Disabling Breakpoints
- 15.7.6. Creating Symbolic Breakpoints
- 15.7.7. Iffy Breakpoints
- 15.7.8. Breakpoint Actions
- 15.7.9. Breakpoint Continuation
- 15.7.10. Importing and Exporting Breakpoints
- 15.7.11. Breakpoint Templates
- 15.8. Examining Data
- 15.9. Data Formatters
- 15.10. Watchpoints
- 15.11. Changing Data and Code
- 15.12. Debugger Console
- 15.13. Shared Libraries
- 15.14. Custom Executables
- 15.15. Debugger Preferences
- 15.16. Remote Debugging
- 15.17. Debugging Aides
- 15.18. Summary
- 16. Performance Analysis
- 17. Unit Testing
-
18. Sharing Source
- 18.1. Source Trees
-
18.2. Source Control
- 18.2.1. Installing the Subversion Client
- 18.2.2. Creating a Repository
- 18.2.3. Adding a Project to Source Control
- 18.2.4. Configuring a Project for Source Control
- 18.2.5. Source Control Interface
- 18.2.6. SCM Smart Group
- 18.2.7. Committing Changes
- 18.2.8. Saving Before Committing
- 18.2.9. Discarding Changes
- 18.2.10. Adding Files to Source Control
- 18.2.11. Deleting Files under Source Control
- 18.2.12. Renaming Files under Source Control
- 18.2.13. Updating Files
- 18.2.14. Comparing Revisions
- 18.2.15. Customizing Compare
- 18.2.16. Merging Changes
- 18.2.17. Viewing Annotations
- 18.2.18. Resolving Conflicts
- 18.2.19. Going Offline
- 18.2.20. SCM and the Project Document
- 18.3. Summary
-
19. Customizing Xcode
- 19.1. Xcode Preferences
- 19.2. Key Bindings
- 19.3. Expert Preferences
- 19.4. Templates
- 19.5. Custom Scripts
- 19.6. AppleScript
- 19.7. Summary
- 19.8. Exercise
- A. Exercise Answers
- B. Project Templates
Product information
- Title: Beginning Xcode®
- Author(s):
- Release date: April 2006
- Publisher(s): Wrox
- ISBN: 9780471754794
You might also like
book
Xcode® 4 Unleashed, Second Edition
In Xcode 4 Unleashed, renowned Mac/iOS developer Fritz Anderson shows how to use Apple’s powerful new …
book
Beginning iOS 5 Application Development
The ideal starting point for iPhone and iPad app development with iOS 5 If you want …
book
Mastering Xcode 4: Develop and Design
Xcode 4 has a brand new user interface, built upon proven technologies that Apple itself uses …
book
Sams Teach Yourself Xcode® 4 in 24 Hours
In just 24 sessions of one hour or less, Sams Teach Yourself Xcode 4 in 24 …