If it has finished, try restarting Xcode, just to make sure. Troubleshooting: If your popover didn’t contain your comment, you may not have waited long enough for the project to build. You should see a popover with your comment. When it finishes, hold the option key, and click on the car variable name. * The ViewController class' car (nonatomic) Car *car Just above the declaration for the car property, add a comment block so that it looks like this: You’ll see two properties that are lacking some documentation. Let’s start by documenting a few properties.īack in Xcode, in the DocumentationExamples project, open ViewController.h. (You can also use the equivalent is by no means all of the tags, and you can find all of the available tags in the HeaderDoc User Guide.įor the sake of this tutorial, all comments will be placed in the header files, just to keep the implementation files clean. A description of what a method or function returns.The name and description of a parameter to a method, callback or function.It’s not required to actually write this keyword out but it is good to use for clarity’s sake. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |