iOS notes #pragma mark's usage and role (easy to find and navigate Code)
Source: Internet
Author: User
<span id="Label3"><p>In simple terms, it is easy to find and navigate the Code.</p>Here's An example of how to quickly navigate to the code I've Identified. #pragma mark Play Metronome<p>-(void) Run: (nsnumber *) Tick<br>{</p><p>//...</p><p>}</p>OK, so how to find it, click on the navigation bar above the code editor:<br><br><br><br>Then I change the code:<br><br>#pragma mark-play The metronome look, you don't see the difference, do you? In fact, a horizontal line #pragma mark<span style="color: #ff0000;"> "-"</span> play the metronome this dash (minus) what role, click the navigation bar again to See.<br><br><br>Plus-a Split line will be displayed to make the comment name more Prominent. That's All.<p>iOS notes #pragma mark's usage and role (easy to find and navigate Code)</p></span>
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.