Set up code blocks in iOS development Xcode

Source: Internet
Author: User

There are a lot of duplicated code in the development, many developers make the common code block to improve the development efficiency.

In Xcode, it is always difficult to select the code block, click on the selected code (text), do not move and release the left mouse button, when the vertical line becomes like the elongated x (I do not know how to describe) after you can drag, in fact, do not need much time, basically is: do not directly click the left mouse button to slide the mouse But it's going to be dragged down again.

You can use this code later to drag it out directly from the inside.

You can also customize the name of the code block, use range, shortcut keys, etc.

Set up code blocks in iOS development Xcode

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.