iOS development-xcode frequently used shortcut key finishing

Source: Internet
Author: User

Foreword: If we can grasp and skillfully use the shortcut key, can greatly accelerate our work efficiency, this to often use shortcut key people, should be very easy to understand. So what we need to do is to make a memory of the shortcut keys that we often use. I will not recommend you to all the shortcut keys are remembered, after all, Xcode so many shortcut keys, who will remember so many AH? Even if all remember, how much time will you spend?

Below I will be listed I often use the shortcut keys, I hope to be helpful, thank you.

Code indentation:
command+[ Left indent
Command+] Right Indent

Toggle the toolbar window:
Command + 0 Turn left navigation on or off
OPTION + COMMAND + 0 Open or close the right property window
Command + Shift + y Open or close the lower console
Search tips for class files/code:
Option + Command + J Search Directory file name
Option + shift+ F Global Search Code
Shift+command+o Call Open Quickly
Control+k Remove all characters from the insertion point to the end of the line
Option + option+ F Search the current file code
  Project Compile/run:
Command + R Compile and run
Command + B Compile
Command + Shift + K Project cleanup
 

quickly switch/create a new tab:
Command + Shift + { Switch tabs to the left
Command + Shift +} Toggle the tab to the right
Command + Shift + T Current page New Window
Command + T Open a new tab
 

expansion/Closing of the method:

Command + OPTION + LEFT ARROW key Close the current method
Command + OPTION + SHIFT + LEFT ARROW key Close all the methods
Command + OPTION + RIGHT ARROW key Expand Current Method
Command + OPTION + SHIFT + RIGHT ARROW key Expand All methods
To control breakpoints:
Command + y Global activation or disabling of all breakpoints
Command + \ Add breakpoint to current code

This article will be updated as new discoveries are followed.

Blog Garveycalvin

Blog Source: http://www.cnblogs.com/GarveyCalvin/

This article copyright belongs to the author and the blog Garden altogether, welcome reprint, but must retain this paragraph statement, and gives the original link, thanks cooperation!

iOS development-xcode frequently used shortcut key finishing

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.