iOS Build standard annotation tool--vvdocumenter

Source: Internet
Author: User

iOS Build standard annotation tool--vvdocumenter

in the process of development, we have to write a lot of comments, easy to help others also convenient for us to check our code later. However, writing a comment is a waste of our time and energy, to write a document in accordance with the format of the comments, it will consume a lot of our effort, fortunately,Vvdocumenter can help us a lot.

GitHub Address: Https://github.com/onevcat/VVDocumenter-Xcode.

Installation and use: Download the GitHub source code, use Xcode to open the project, run, if successful, the plug-in is installed, at this time, we must have Xcode restarted, before it can be used.

Restart Xcode, enter///In any place, the following annotation template will appear automatically, the parameter part is already written by the placeholder.

/** * < #Description #> * * @param data < #data description#> */-(void) Updatewithdata: (ID) data;

is not write comments become a very interesting thing, you can also make some settings, in the Xcode->window menu bar, there is a vvdocumenter this tab, which can be used to generate comments on the template to make some settings, such as the shortcut key to generate comments, annotation alignment mode, The comment shows the creator and time, and so on. For example, the following settings generate comments like this:

/** * @author Elephant, 15-09-16 13:09:28 * * @brief < #Description #> * * @param data < #data description#> */-(void) Updatewithdata: (ID) data;

Finally, recommend this small plug-in to you, wish you write Code Happy O (∩_∩) O.



iOS Build standard annotation tool--vvdocumenter

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.