Skip to content
Kevin Leong edited this page Mar 6, 2017 · 4 revisions

Xcode

Keyboard shortcuts

Shortcut Action
⇧ ⌘ J Jump to the current file in the Project navigator
⌘ 1 Jump to Project navigator. Use other numbers to jump to corresponding panels in the left sidebar
⌥ ⌘ , Open file in assistant editor
⌘ ↩ Hide assistant editor
⌘ J Open editor focus dialog chooser
⌘ ↑ Go to related file
⌘ ← Go back to previous file in history
⌘ → Go to next file in history
⌥ ⌘ ⇧ click Open editor focus dialog chooser for selected file
⌘ ⇧ o Open file
⌘ 0 Hide project navigator
⌥ ⌘ O Hide utilities navigator

Targets, Projects, Workspaces

Name Description
Target Specifies how a specific product, which may be an application or framework, should be built. Includes build settings (e.g., compiler/linker flags) as well as the resources that should be included in a particular build.
Project A container for the code and resources for a target. Multiple targets may be dependent on a single project, and may select the resources to include in its build. Projects may be a subproject of another project.
Workspace Workspaces allow management of multiple projects. When a project's target is a dependency for multiple projects, then including everything in a workspace allows the dependent projects to be updated when the project they depend on is modified. Another approach would be to open each dependent project in a separate Xcode window, but a workspace allows all projects and their dependencies to be viewed and modified in the same window.

References

Clone this wiki locally