xcode tips

https://blog.csdn.net/phunxm/article/details/17044337/ details xcode use, the following is a common part of the removal of

1. Quick jump out xcode preferences
while holding down the command key and the comma, you can quickly jump out xcode preferences.

2. Set interface theme
Font & Color relating to the interface provided, the following can go to the URL, download the corresponding theme, where the theme Monokai.dvtcolortheme black common interface very refreshing, https://github.com/tursunovic/xcode-themes downloads after the theme, click on the upper left corner of the desktop go ---> Go to folder, and then copy the following path, each computer are the same ~ / library / Developer / Xcode / UserData / FontAndColorThemes to download compressed after decompression, select xcode-themes in their favorite theme, copied to the path just found. Reopen xcode, and then enter the xcode preferences (see step 1 how to open), choose Font & colors, just into the left side of the interface to find topics, click to select to complete the replacement.

Code reader:
1. variable definitions quickly jump
in the program on a particular variable, hold down the comman key, left-click, you can jump directly to the definition of the variable corresponding
2. Display toolbar
hold down the option key and command key and the letter T, can quickly open or close
3. Code editor
command + x / c / v: cut / copy / paste
4. The code comments
command + /: press the current line comment, the comment is pressed again to cancel
5. Find
command + f: matches in the current file
shift + command + f: look in the global scope
6. the split-screen view
option + command + enter: open split-screen
command + enter: split-screen closing
7. console
shift + command + y: display console
command + k: Clear console
8. debug
press fn key (lower left corner of the keyboard), it will jump out of F1 to F12
F6: Next, the process by stepping
F7: entering the body of the function
F8: function body out

Guess you like

Origin www.cnblogs.com/ymd12103410/p/11294289.html