CocoaDev

Edit AllPages

Quite easy. There are two methods of commenting. The straight

// Which is for one line and

/*

Which is for many lines of code, or for a comment in the middle of a line.

*/


It is possible to generate program documentation from the comments too.

AutoDoc is simple, efficent and works with ObjC.

HeaderDoc is somewhat more complicated.

Back to HowToProgramInOSX