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