1. Add Documentation To Your Code
     - Put cursor on name or method and press
(Cmd + Option + /) ************************* (⌘ + ⌥ + /)
2. Quick Open
     - This shortcut will bring up the Open Quickly text box. You can use the text box to search by filename, method name, class name, etc. Just hit ↩ on the desired result to open its respective file on the currently active editor.
(Shift + Cmd + o) ************************* (⇧ + ⌘ + o)
3. Opening a file manually in the assistant editor
     - First search for your file using (Shift + Cmd + o) and In order to open a destination file in the secondary editor with the same Assistance editor you can do it using.
(Option + Enter) ************************* (⌥ + ↩)
4. Fix next issue
     - Sometimes hard to manually find the issue in the Xcode. We can simply jump to the actual error and once we jump to the error again use this command to show the error in detail.
(Ctl + Cmd + ') ************************* (⌃ + ⌘ + ')
5. Refactor All In Scope
     - Refactoring is inevitable. That makes editing variables and methods in the scope a crucial tool. The following shortcut lets us edit all in scope together at the same time.
(Ctrl + Cmd + E) ************************* (⌃ + ⌘ + E)
6. Find call hierarchy
     - This shortcut will open the Call Hierarchy view to show any places in your code that call the specified method, as well as any methods that call those methods in turn, and so on.
(Shift + Ctl + Cmd + H) ************************* (⇧ + ⌃ + ⌘ + H)
7. Re-Indent Code
     - The simple way to format your code. For the single line OR Multiple lines.
(Ctrl + I) ************************* (⌃ + I)
8. Lookup the view hierarchy
     - To look out the view structure or the hierarchy from the Xib or Storyboard and to find out its super view which view
's we can get using.
(Ctrl + Shift + Click) ************************* (⌃ + ⇧ + Click)
9. Open dependency in the assistant editor
     - When you are working with Xib or storyboard you will require to open the view controller, In order to open a destination file in the Secondary editor with the same Assistant editor, you can use.
(Ctl + Option + Cmd + Enter) ************************* (⌃ + ⌥ + ⌘ + ↩)
10. Add and Remove Breakpoints
     - Add and Remove breakpoints.
(Cmd + \) ************************* (⌘ + \)
11. Disable/Enable all breakpoints
     - When you want to enable or disable the breakpoints throughout the Xcode workspace you can do it using.
(Cmd + Y) ************************* (⌘ + Y)
12. Jump to a Line
     - Jumps to a code line.
(Cmd + L) ************************* (⌘ + L)
13. Show Library
     - When used in the source editor, this shortcut will show a library of code Snippets (First you have to create snippets then it will bring up), image assets, and color assets. On the other hand, when used in the storyboard, it will show a library of UI objects, image assets, and color assets.
(Shift + Cmd + L) ************************* (⇧ + ⌘ + L)
14. Jump to defination
     - To directly jump to a definition, you can combine
(Ctrl + Cmd + Click) ************************* (^ + ⌘ + Click)
15. Jump to file
     - It opens a jump bar from where you can search the desired file and you jump directly to it.
(Ctrl + 5) ************************* (⌃ + 5)
16. Jump to Method
     - It opens a jump bar from where you can search the desired method and you jump directly to it.
(Ctrl + 6) ************************* (⌃ + 6)
17. Search Documentation
     - Put a cursor on text or select the text then jump to the apple documentation using.
(Ctrl + Option + Cmd + /) ************************* (⌃ + ⌥ + ⌘ + /)
18. Create new tab
     - It will create a new tab, simply work with the multiple tabs.
(Cmd + T) ************************* (⌘ + T)
19. Switching Tabs
     - Tab is one of the most commonly used features in Xcode. Using this shortcut allows you to switch tabs from left to right.
(Ctl + Tab) ************************* (^ + ⇥)
20. Close Tab
     - While working with the multiple tabs you can use this shortcut to close your current tab.
(Shift + Cmd + W) ************************* (⇧ + ⌘ + W)
21. Show hide code review
     - Sometimes you might need to have a quick look on the changes you have made on your code. Use this shortcut to quickly switch to code review mode and have an overview on what you have changed, once done, just hit the shortcut again to switch back to you normal source editor mode.
(Shift + Option + Cmd + Enter) ************************* (⇧ + ⌥ + ⌘ + ↩)
22. Commit Changes
     - When we are working with Git, bitbucket, or any source control tool we can directly commit over changes using.
(Option + Cmd + C) ************************* (⌥ + ⌘ + C)
23. Reveal in Projet Navigator
     - Reveal file in projet navigator using.
(Shift + Cmd + J) ************************* (⇧ + ⌘ + J)
24. Open Preferences
     - Open your Xcode preferences to easily access your apple account, set up your Xcode preference, access the derived data path, and many more using.
(Cmd + Comma(,)) ************************* (⌘ + ,)
25. Split curent file
     - When you want to split your current file within the same tab you can do using.
(Option + Cmd + ,) ************************* (⌥ + ⌘ + ,)
26. Create a new group
     - Select your folder then use the shortcut to create a group. At a time a single group will be created.
(Ctl + Option + Cmd + N) ************************* (⌃ + ⌥ + ⌘ + N)
27. Left panel (navigator) tab switch
     - Switch between the different navigator from Project navigators to Report navigator using.
(Cmd + (1-9)) ************************* (⌘ + (1-9))
28. Hide left panel (navigator)
     - Hide the navigator using.
(Cmd + 0) ************************* (⌘ + 0)
29. Right panel (inspector) tab switch
     - Switch between the different navigators from File inspector to Connection inspector using.
(Option + Cmd + (1-7)) ************************* (⌥ + ⌘ + (1-7))
30. Hide right panel (inspector)
     - Hide the inspector using.
(Option + Cmd + 0) ************************* (⌥ + ⌘ + 0)
31. Search for lines of text in your files (project)
     - Search your text with multi kinds of filters like Containing, Matching word, Starting with or Ending with using.
(Cmd + Shift + F) ************************* (⌘ + ⇧ + F)
32. Open schema selection
     - When you are required to switch between the schema (Control + 0) open the scheme chooser. Select the scheme you want to run with the arrow keys and simply hit the return key to choose the schema.
(Ctl + 0) ************************* (⌃ + 0)
If you have any feedback, please reach out to me at [email protected]
#Xcode #iOS #Swift