Code block and code block comments of Xcode, and xcode code comments

Source: Internet
Author: User

Code block and code block comments of Xcode, and xcode code comments

What we see

 

Actually

If (<# condition #> ){
<# Statements #>
}

However, why does if come out? This is the code block in iOS.

For example, a code block defining an attribute

@ Property (nonatomic, strong) <# type #>< # name #>

Select All after long press to show the mouse pointer, then drag

The first is the Title, which is the Title (name) displayed in the Code snippets panel on the right; the second is the Summary, which should be understandable, write down the overview you need to express. For the third platform, you can select All/IOS/OS X from the root drop-down list. For the fourth platform, you can use Langauge, you can choose it by yourself. The fifth one may interest you, that is, setting the shortcut key. For example, if you enter @ ps and save it, you can enter the shortcut key for encoding, it is very convenient; The sixth is the effective region of the Snippets, you can also choose.

Annotations are also similar.


Refer:

Http://www.sufeinet.com/thread-8732-1-1.html

Http://www.tuicool.com/articles/I3aEJjm

Http://www.shaoqun.com/a/105604.aspx

 

Related Article

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.