Xcode Workspace Guide
PDF
Introduction
The Project Window
Project Window Components
The Groups & Files List
Group Types
Viewing the Contents of Groups
Displaying and Hiding Smart Groups
Splitting the Groups & Files View
The Detail View
Information Displayed in the Detail View
Searching and Sorting in the Detail View
The Project Window Toolbar
The Project Window Status Bar
Project Window Layouts
The Default Layout
The Condensed Layout
The All-in-One Layout
The Project Page
Other Windows in the All-In-One Layout
Saving Changes to the Current Layout
The Inspector and Info Windows
Viewing the Progress of Tasks in Xcode
Project Organization
Software Development Tips
Dividing Your Work into Projects and Targets
Identifying the Scope
Trade-Offs of Putting Many Targets in One Project
Trade-Offs of Using Multiple Projects
Grouping Files
Grouping Files into Static Groups
Creating a Static Group
Adding Files to a Group
Deleting Groups
Using Smart Groups
Creating a Smart Group
Configuring a Smart Group
Viewing Groups and Files
Saving Frequently Accessed Locations
Adding Items to the Favorites Bar
Defining Bookmarks
Adding Comments to Project Items
General Preferences
File Management
Opening Files
Opening Project Files
Opening Header Files and Other Related Files
Opening Superclasses and Subclasses
Opening Files by Filename or Symbol Name
Specifying How Files Are Opened
Specifying the Editor Type for a File Type
Opening Files with an External Editor
Opening Files with Your Preferred Application
Saving Files
Closing Files
Deleting Files
Viewing File Information
Choosing File Encodings
Changing Line Endings
Overriding a File’s Type
The Text Editor
A Tour of the Text Editor
Navigation Bar
The File History Menu
The Function Menu
Jumping to the Counterpart of a File or Symbol
Using Text Editor Windows
Using Text Editor Panes
Splitting Text Editors
Laying Out Code
Indenting Code
Syntax-Aware Indenting
Choosing What the Tab Key Does
Choosing How to Indent Braces
Choosing Which Characters Reindent a Line
Choosing How to Indent C++-Style Comments
Manual Indenting
Tab and Indent Layout Options
Changing the Indent and Tab Width
Using Spaces Instead of Tabs
Matching Parentheses, Braces, and Brackets
Wrapping Lines
Formatting Code
Completing Code
Scoping Code
Code Focus
Code Folding
Editing Symbol Names
Repeating Code
Text Macros with Completion Prefixes
Viewing Project Messages
Executing Shell Commands in Selection
Searching Source Files
Searching in a File
Specifying Search Terms
Replacing Text
Shortcuts for Finding Text and Symbol Definitions
Customizing the Editor
Displaying a Page Guide
Displaying the Gutter
Viewing Column and Line Positions
Text Editing Preferences
Indentation Preferences
Code Sense Preferences
Fonts & Colors Preferences
Documentation Access
Viewing Documentation
Browsing Documentation
Searching Documentation
API Reference Search
Title Search
Full-Text Search
Using Boolean Operators
Specifying Required Terms
Using Wildcards
Searching API Reference from the Text Editor
Using Documentation Bookmarks
Using the Research Assistant
Viewing Man Pages
Subscribing to Documentation Feeds
Documentation Preferences
Keyboard Shortcuts
Key Bindings Preferences
Customizing Keyboard Shortcuts for Menu Items
Customizing Keyboard Shortcuts for Other Tasks
User Scripts
Managing User Scripts
Duplicating User Scripts
Advanced User Scripts
Script Input Variables
Getting Text from the Active Window
Getting Information on the Contents of the Active Window
Getting the Pathname for the File in the Active Window
Getting the Pathname for the Utility Scripts
Script Output Markers
Using Utility Scripts
Built-in Utility Scripts
Specifying a String
Choosing an Existing File or Folder
Choosing a New File
Choosing an Application
Adding a Menu Item from Any Script File
Adding a Menu Item from a Menu Definition Script
Adding a Submenu
Adding a Menu Separator
Removing a Custom Menu Item
Removing All Custom Menu Items from a Menu
Resetting Xcode
Glossary
Revision History