Book description
A solid guide that responds to the active interest in Apple's Xcode tools
Apple's Xcode tools are a collection of applications and frameworks that are used to develop, test, and optimize applications primarily written for Mac OS X or the iPhone. The steady increase in sales of Apple computers has triggered a strong interest in gaining a thorough understanding of Xcode and its tools and what they have to offer. This book provides you with an inside look at the array of Xcode tools from top to bottom.
You'll go beyond the basics and dive into such in-depth topics as installing the latest version of Xcode tools, customizing the look and behavior of Xcode, creating and managing projects, using the built-in class browser to model complex applications and structures, and more.
Offers you a solid foundation for getting the most out of Apple's Xcode tools, a collection of applications and frameworks used to develop, test, and optimize applications written for Mac OS X or the iPhone
Includes clear, comprehensive lessons for installing the latest version of Xcode tools, customizing the look of Xcode, creating and managing projects, testing your interfaces, and building and debugging your projects
Explains analyzing performance, optimizing your application, working with shared sources, creating your own custom file templates, and customizing the interface builder
With this book, you'll be able to take full advantage of the range of tools included with Xcode.
Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
Table of contents
- Copyright
- ABOUT THE AUTHOR
- CREDITS
- ACKNOWLEDGMENTS
- INTRODUCTION
- 1. Installing Xcode
- 2. The Grand Tour
-
3. Xcode Layout
- 3.1. PROJECT LAYOUT
- 3.2. GROUPS & FILES
- 3.3. DETAILS, DETAILS
- 3.4. INFO WINDOWS
- 3.5. TOOLBARS
- 3.6. STATUS BAR AND FAVORITES BAR
- 3.7. ACTIVITY VIEWER WINDOW
- 3.8. SUMMARY
- 4. The Project
-
5. Sources
- 5.1. REFERENCES
- 5.2. SOURCE ITEM TYPES
- 5.3. SOURCE ITEM ATTRIBUTES
- 5.4. ORGANIZING SOURCES
- 5.5. CREATING NEW SOURCE FILES
- 5.6. CREATING AN EMPTY FILE
- 5.7. ADDING EXISTING ITEMS
- 5.8. REMOVING SOURCE ITEMS
- 5.9. REORGANIZING SOURCES
- 5.10. SUMMARY
-
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. SHELL SCRIPTS
- 6.7. SPELL CHECKING
- 6.8. FILE ENCODING
- 6.9. LOCALIZING FILES
- 6.10. PRINTING
- 6.11. SERVICES
- 6.12. SUMMARY
- 7. Syntax-Aware Editing
-
8. Searching
- 8.1. SEARCHING AND REPLACING TEXT IN A SINGLE FILE
- 8.2. SEARCHING AND REPLACING TEXT IN MULTIPLE FILES
- 8.3. SEARCH PATTERNS
- 8.4. SEARCH HISTORY
- 8.5. FIND RESULTS SMART GROUP
- 8.6. SEARCH SHORTCUTS
- 8.7. SEARCHING LISTS
- 8.8. SUMMARY
- 9. Class Browser
- 10. Refactoring
- 11. Snapshots
- 12. Help and Documentation
-
13. Interface Builder
- 13.1. WHAT IS INTERFACE BUILDER?
- 13.2. INTERFACE BUILDER WORKFLOW
- 13.3. INTERFACE BUILDER'S INTERFACE
- 13.4. CREATING A NIB DOCUMENT
- 13.5. OPENING SISTER LOCALIZATIONS
- 13.6. CREATING OBJECTS
- 13.7. COPYING, DUPLICATING, AND DELETING OBJECTS
- 13.8. SELECTING OBJECTS
- 13.9. CONFIGURING OBJECTS
- 13.10. CONNECTING OBJECTS
- 13.11. CUSTOM CLASSES
- 13.12. PLACEHOLDER OBJECTS
- 13.13. DECOMPOSING AN INTERFACE
- 13.14. IMPORTING AND EXPORTING CLASSES
- 13.15. NIB DOCUMENT FORMATS
- 13.16. CUSTOMIZING INTERFACE BUILDER
- 13.17. SUMMARY
- 14. Class Modeling
-
15. Data Modeling
- 15.1. TECHNOLOGY
- 15.2. TERMINOLOGY
- 15.3. CREATING A DATA MODEL
- 15.4. DATA MODELING INTERFACE
- 15.5. CREATING AN INSTANT INTERFACE
- 15.6. MIGRATING DATA SCHEMAS
- 15.7. CREATING NSMANAGEDOBJECT SUBCLASSES
- 15.8. EXPORTING CLASS METHODS
- 15.9. IMPORTING DATA MODELS
- 15.10. SUMMARY
- 16. Targets
-
17. Building Projects
- 17.1. STARTING AND STOPPING A BUILD
- 17.2. CLEAN BUILDS
- 17.3. PARTIAL BUILDS
- 17.4. THE BUILD WINDOW
- 17.5. BUILD PREFERENCES
- 17.6. BUILD LOCATIONS
- 17.7. BUILD LOCATION STRATEGIES
- 17.8. BUILD SETTINGS
- 17.9. BUILD CONFIGURATIONS
-
17.10. EDITING BUILD SETTINGS
- 17.10.1. Filtering Build Settings
- 17.10.2. Viewing Names and Definitions
- 17.10.3. A Peek-A-Boo Build Script
- 17.10.4. Changing Build Setting Values
- 17.10.5. Creating a Conditional Build Setting
- 17.10.6. Creating a Custom Build Setting
- 17.10.7. Deleting a Build Setting
- 17.10.8. Switching Between Build Configurations
- 17.11. EDITING BUILD CONFIGURATIONS
- 17.12. CONFIGURATION SETTINGS FILES
- 17.13. MOVING BUILD SETTINGS AROUND
- 17.14. ENVIRONMENT SETTINGS
-
17.15. CUSTOMIZING THE BUILD
- 17.15.1. Per-File Compiler Flags
- 17.15.2. Cross-Development
- 17.15.3. Building Universal Binaries
- 17.15.4. Selected Build Settings in Detail
- 17.16. THE XCODEBUILD TOOL
- 17.17. XCODE AUTOMATOR ACTIONS
- 17.18. DISTRIBUTED BUILDS
- 17.19. SUMMARY
-
18. Debugging
- 18.1. RUNNING YOUR APPLICATION
- 18.2. DEBUG ANYTIME, ANYWHERE
- 18.3. BUILT TO BE DEBUGGED
- 18.4. DEBUGGING EXECUTABLES
- 18.5. ATTACHING TO RUNNING EXECUTABLES
- 18.6. IN-EDITOR DEBUGGING
- 18.7. THE DEBUGGER WINDOW
- 18.8. CONTROLLING THE DEBUGGER
- 18.9. THE MINI-DEBUGGER
-
18.10. BREAKPOINTS
- 18.10.1. Breakpoint Types
- 18.10.2. Breakpoints Window
- 18.10.3. Breakpoint Details in an Editor Pane
- 18.10.4. Deleting Breakpoints
- 18.10.5. Enabling and Disabling Breakpoints
- 18.10.6. Creating Symbolic Breakpoints
- 18.10.7. Iffy Breakpoints
- 18.10.8. Breakpoint Ignore Count
- 18.10.9. Breakpoint Actions
- 18.10.10. Breakpoint Continuation
- 18.10.11. Importing and Exporting Breakpoints
- 18.10.12. Breakpoint Templates
- 18.11. EXAMINING DATA
- 18.12. DATA FORMATTERS
- 18.13. WATCHPOINTS
- 18.14. CHANGING DATA AND CODE
- 18.15. DEBUGGER CONSOLE
- 18.16. SHARED LIBRARIES
- 18.17. CUSTOM EXECUTABLES
- 18.18. DEBUGGER PREFERENCES
- 18.19. REMOTE DEBUGGING
- 18.20. DEBUGGING AIDES
- 18.21. SUMMARY
-
19. Performance Analysis
- 19.1. PERFORMANCE BASICS
- 19.2. PREPARING FOR ANALYSIS
- 19.3. SHARK
- 19.4. INSTRUMENTS
- 19.5. SUMMARY
-
20. Unit Testing
- 20.1. HOW UNIT TESTS WORK
- 20.2. GETTING STARTED WITH UNIT TESTS
- 20.3. ADDING A UNIT TEST TARGET
- 20.4. CREATING A UNIT TEST
- 20.5. DEBUGGING UNIT TESTS
- 20.6. SUMMARY
-
21. Sharing Source
- 21.1. SHARING VIA XCODE
- 21.2. SOURCE TREES
-
21.3. SOURCE CONTROL
- 21.3.1. Using Source Control
- 21.3.2. Defining a Repository
- 21.3.3. Source Control Options
- 21.3.4. Your SSH Certificates
- 21.3.5. Creating a Subversion Repository
- 21.3.6. Filtering Out Noise
- 21.3.7. Browsing Repositories
- 21.3.8. Adding a Project to Source Control
- 21.3.9. Checking Out a Project
- 21.3.10. Exporting a Project
- 21.3.11. Configuring a Project for Source Control
- 21.3.12. Project Roots
- 21.3.13. Source Control Interface
- 21.3.14. SCM Smart Group and Window
- 21.3.15. Committing Changes
- 21.3.16. Discarding Changes
- 21.3.17. Adding Files to Source Control
- 21.3.18. Deleting Files under Source Control
- 21.3.19. Renaming Files under Source Control
- 21.3.20. Updating Files
- 21.3.21. Comparing Revisions
- 21.3.22. Merging Changes
- 21.3.23. Viewing Annotations
- 21.3.24. Resolving Conflicts
- 21.3.25. Going Offline
- 21.3.26. Source Control and the Project Document
- 21.4. SOURCE CONTROL VS. SNAPSHOTS
- 21.5. SUMMARY
-
22. Using the Organizer
- 22.1. PROJECTS & SOURCES
- 22.2. USING ORGANIZER ACTIONS
-
22.3. DEVICES
- 22.3.1. Adding and Removing Devices
- 22.3.2. Installing Provisioning Profiles
- 22.3.3. Managing Development Applications
- 22.3.4. Downloading Application Data
- 22.3.5. Installing Alternate Operating Systems
- 22.3.6. Reviewing Crash Logs
- 22.3.7. Monitoring the Device's Console
- 22.3.8. Capturing Screenshots and the Default Image
- 22.4. IPHONE DEVELOPMENT
- 22.5. SUMMARY
-
23. Customizing Xcode
- 23.1. XCODE PREFERENCES
- 23.2. KEY BINDINGS
- 23.3. USING AN EXTERNAL EDITOR
- 23.4. TEXT MACROS
- 23.5. EXPERT PREFERENCES
- 23.6. TEMPLATES
- 23.7. USER SCRIPTS
- 23.8. APPLESCRIPT
- 23.9. RESETTING YOUR XCODE CUSTOMIZATIONS
- 23.10. SUMMARY
Product information
- Title: Professional Xcode® 3
- Author(s):
- Release date: March 2010
- Publisher(s): Wrox
- ISBN: 9780470525227
You might also like
book
Quantum Machine Learning: An Applied Approach: The Theory and Application of Quantum Machine Learning in Science and Industry
Know how to adapt quantum computing and machine learning algorithms. This book takes you on a …
video
Introduction to ChatGPT and OpenAI
OpenAI ChatGPT is a powerful language model that uses advanced ML techniques to generate human-like text …
book
AI-Driven Testing
Software testing is expensive. Through up-front and recurring investment in labor and assets, organizations spend roughly …
book
The GuruBook
The GuruBook is an inspiring collection of 45 articles and interviews with well-known thought leaders and …