1. Quick Open
Quick Open Quickly command in Xcode's File menu, of course, it's easier to command+shift+o with shortcut keys. This command enables a small pane to be used to quickly search through files, classes, algorithms, functions, and so on.
This command saves me a lot of time every day, and if you haven't tried the Quick Open command, it's highly recommended that you try it.
2. Display the Project Navigator
In a large project with many files and folders, the Show Project Navigation Command (Reveal in Project Navigator) can save you a lot of time, this command can display the current file in the project navigation bar on the left side of the interface, the default shortcut is COMMAND + Shift + J.
3. Auxiliary Editor
You may already be familiar with the auxiliary editor. But many developers don't use it enough to display a copy of a file or to operate in both the user interface and the Windows controller, which is great.
There are many uses of the auxiliary editor, which I often use to find out where a particular algorithm has been and how it was called. Move the cursor to the body of an algorithm, and select Callers from the top menu of the auxiliary editor to see it.
4. Jump to Method
When working with classes or structs, I often need to jump quickly to a particular method of a class. This can be done conveniently with the first few letters of the shortcut control + 6 and the input algorithm.
5. Browse the Documentation
No matter how experienced you are, the documentation is always the best friend of the developer. By holding down the option key and clicking on the symbol you are interested in, you can quickly open the Xcode document browser, where you can search for a particular class or method.
Here you will find the Dash document browser, which is faster and more powerful than the Xcdoe built-in document browser. In order to achieve the same effect on the dash, you need to install a Xcode plugin.
6. Scope editing
Multiple cursors are a great feature that each advanced editor should have. Xcode's code-editing also has this feature, but it's hard to find and hard to use. In Xcode, this feature is called range Editing (edit all in scope, default shortcut key Ctrl+command+e).
Move the cursor to the symbol you want to edit, the mouse pointer over the character for two seconds will appear on the right side of the character a small inverted triangle, click on the triangle and choose Edit All in Scope from the menu, you can also set a shortcut for this command. (Modified by: Preferences, Key Bindings, search "Edit all in Scope")
Unfortunately, Xcode's implementation of the multi-cursor feature is not as powerful as Atom or Sublime Text, and as far as I know, Xcode's multi-cursor function only works on symbols.
7. Who's a git?
Are you working in a team? Have you ever had a need or are you just wondering who wrote that horrible error code? Move the cursor to the wrong line, right-click and select Show Blame for lines in the menu, ah oh, did you do it?
Seven tips that the Xcode developer should know