iOS Development--Comment summary oc & enough of the comment habit summary

Source: Internet
Author: User

A summary of the comment habits of the lattice

First of all about the attention here do not say what vvdocument, to some fresh!

Maybe you've used #warning warning tips.

Maybe you've also used #pragma marks.

But have you ever seen or used the following?

    • Comments containing:
    • MARK:
    • Todo:
    • Fixme:
    • !!!:
    • ???:

No, then you quickly look at the following content, very useful, but also very simple, but the specific use of personal


First of all, say the three most commonly used:
1. TODO

    • Features waiting to be implemented

2, Fixme

    • Features that need to be corrected

3,!!!

    • Features that need to be improved


Specific use

Fixme:sss
/* FIXME:SSS */

Mark:sss
/* MARK:SSS */

!!!: SSS
/*!!!: SSS */

???: SSS
/*???: SSS */

Todo:sss
/* TODO:SSS */

Comments containing:sss
/* Comments CONTAINING:SSS */

Note the space.

Finally you will find the following effect, although there is no difference with #pragma marks, but this is the cause of the loading force

About the last/* Comments containing:sss * *, the author has not reproduced corresponding use method, if you know can contact me Oh!

Copyright NOTICE: Welcome Reprint, please paste the source address: http://www.cnblogs.com/iCocos/(iOS DreamWorks)

For more highlights, please follow GitHub:https://github.com/al1020119?tab=repositories

iOS Development--Comment summary oc & enough of the comment habit summary

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.