Xcode Cheat Sheet: Search Navigation Editing
Xcode Cheat Sheet: Search Navigation Editing
Xcode Cheat Sheet: Search Navigation Editing
presented by
NAVIGATION
SEARCH
Find in File
Find in Project
Open Quickly
Next Counterpart
J
UP
Previous
Counterpart
DOWN
Next
Recent File
RIGHT
New Tab
Go to Line
Previous Tab
Fold Section
Next Tab
Unfold Section
NAVIGATOR
0
18
Indent Selection
Comment / Uncomment
LEFT
RIGHT
Move Line Up
UTILITIES
Next Issue
Show / Hide
'
Switch Tabs
"
open in
Assistant Editor
Toggle Breakpoints
Clear Console
click
DOCUMENTATION
Documentation for
for Selection
/
SPACE
Fix Indentation
Show Documentation
click
RETURN
Toggle Completions
Add Breakpoint
click
RETURN
Previous Issue
Outdent Selection
decide where
to open
Hide Assistant
Editor
DEBUGGING
Show / Hide
LEFT
Show Assistant
Editor
Definition of Symbol
Switch Tabs
Previous
Recent File
TABS
EDITING
Run
Stop
click
double click
19
Analyze
Test
Clean
4. TABS
Tabs are well-known from almost every IDE and text editor.
tab, or in a new window. Heres how you can decide about this:
When clicking on a file in the Navigator, hold down
A pop-over will appear and let you choose where exactly you
want the file to be displayed.
You shouldnt waste your time digging for a file in your folder
hierarchy. Instead, you can use Xcodes Open Quickly dialog by
2. OPEN QUICKLY
pressing
could contain just two editor panes, while another one could
contain the project navigator, a single editor pane, and the
5. BEHAVIORS
With Behaviors, you can tell Xcode how to react when certain
events happen. For example, you could have the console view
shown whenever your app starts running, or you could have a
new tab opened whenever you start a search.
tabs. For example, whenever your app pauses, you can have
Xcode open your named tab Debug a tab that you configu-
by pressing
2 .
Now go back to your editor pane and start typing what will soon
hidden).
KEYBOARD SYMBOLS
Then highlight and drag that code to the library pane. Apart
from naming it, you should also define a Completion Shortcut:
when you type these letters later, Xcode will offer to substitute
Command key
Control key
Shift key
VERSION CONTROL
Go beyond Xcodes basic version control support and combine it with Tower the most powerful Git client for Mac. Try it free for 30 days.