MacBook and XCode Usage Summary

Source: Internet
Author: User
Tags delete key macbook

Xcode is the most basic commonly used shortcut keys (want to see the effect of the execution than debugging should be faster):

1. Modify all variable names within their scope: Control + COMMAND + t;

2. Switch between. m files and. h files: ALT + command + up;

3. Smart tip: Command +,; Command +.; COMMAND + ESC;

4. View the console output: SHIFT + COMMAND + R;

5. Copy code: COMMAND + C;

6. Cut Code: COMMAND + x;

7. Paste Code: Command + V;

8. Select All code: Command + A;

The home key of the 8.mac machine: Command + left;

End key of 9.mac machine: Command + right;

The backspace key of the 10.MAC machine: The DELETE key on the keyboard;

What about the Delete key of the 11.mac machine? fn + Delete;

8. Exit Xcode:command + q;

9. Close a Code editing window: Command + w;

11. Undo: Command + z;

12. Search: Command + F;

13. Look for the whole project: SHIFT + COMMAND + F;

13. Save the File: Command + S;

14. Minimize the window (the window will be placed in the form of small icons to the bottom of the screen at the far right of the table, the most right 1 straight are trash): Command + M;

15. More uncomfortable is the trash inside of the things can not be selectively cleared, to clear the words seem to only trash all the things together to clear ~

16. How do I back up the things on the Apple machine to the mobile drive?

17.mac machine above the mobile speed of the mouse is also more interesting, it is not a uniform movement, according to Zhu always said ~

18. Let me feel very uncomfortable is the Mac machine above the RAR decompression, a little 1 accidentally to RAR file immediately decompression, feel or windows on the RAR to force ~

19. Like the Mac notebook above the touchpad, very comfortable, gesture is not much to say, thunderclap piercing things too lazy to explain ~

15. Debug and use each breakpoint: ALT + COMMAND + R;

16. Debug and Disable each breakpoint: ALT + command + y;

17. Stop Debugging: SHIFT + COMMAND + ENTER;

18. Perform and do not debug: ALT + COMMAND + ENTER;

19. Clear the console output: Control + ALT + COMMAND + R;

20. Generate and Execute: Command + R;

21. Generate and debug (using each breakpoint): Command + y;

22. Generate only: Command + B;

23. View Build Results: SHIFT + COMMAND + B;

24. Clear (Save space when backing up items): Shift + COMMAND + K;

25. Go to the previous warning or error: Command + ' + ';

26. Go to the next warning or error (I'm nen I didn't press it.) Solution, press the FN key first, then press the = key): Command + ' = ';

23. Go back to the previous edit point (with ALT + left in Eclipse): ALT + COMMAND + left;

24. Skip to the next edit point (Alt + right in Eclipse): ALT + command + right;

25. Navigate to the number of lines of the file: Command + L;

26. Maximize Xcode main Window code editing page (top image): Shift + COMMAND + E;

27. When you hold down the ALT key, the build and Run icon is switched to the icon for build and Debug

28. Move the focus to the location of the code file in Group & files: Shift + ALT + COMMAND + t;

29. New Project: SHIFT + COMMAND + N;

30. New File: Command + N;

31. Save the code file to a different location (this is weird, it will change the project's reference to the file location, careful use): Shift + COMMAND + s;

32.Xcode can also be like VS2005 "Add existing Items", if you are not satisfied with the location of the add file, you can hold the right-click drag to adjust the position ~

33. Are you still worried about dragging a resource file on the desktop into the Xcode project (all other windows are minimized each time, showing the desktop and Xcode and dragging)?

Here's the solution:

1. Add the sound picture file to the project in the "Add Existing Item" mode (in this way the first experience makes Xcode unresponsive, the egg hurts);

2. Use the shortcut key: Command + H or ALT + command + H;

The 34.mac machine also has a task manager in the PC that can be used when the application cannot respond

Quit process-> force quit for forced exit

(Do not be confused by quit, if you can exit normally I will also run to the Task Manager to end the task?) Chicken ribs, chicken ribs)

35. How can I switch the input method in Mac machine?

Mac Machine Support 3 Input method: simplified Pinyin, traditional pinyin, English, toggle shortcut key: Command + space;

function keys in Mac machines are interesting, icons on the keyboard indicate their respective uses (Mac emphasizes personalization)

F1,F2: Adjust the brightness of the notebook screen;

F3: The function of this key is the same as the gesture of 4 finger swipe down, also can be regarded as a more convenient button ~

F4:1 a very gorgeous key, press the next will enter a view, which includes: calculator, calendar, clock, weather and other gadgets, press the lower left corner + sign will come out more ~

F5: Can be used to refresh the functionality of the Web page or universal;

F7,F8,F9: This seems to be linked with multimedia applications;

F10,F11,F12: Mute, increase the volume, reduce the volume;

Bring up the Special Symbol Selection window: ALT + COMMAND + t;

Set the Xcode font: COMMAND + t;

MacBook and XCode Usage Summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.