CocoaDev

Edit AllPages

Note: The name of this page is misleading, as AutoDoc can generate more than just HTML. Sorry, my bad. – MichaelMcCracken

Answering the question: * Anybody know the best way to build generated documentation automatically from Objective-C source files? *

Also, check out Apple’s OpenSource HeaderDoc - http://developer.apple.com/darwin/projects/headerdoc/


Automatic API Documentation Generation

It is really easy to set up a documentation build for a PB project with either AutoDoc or HeaderDoc:

*1. set up a new target “Documentation” (or whatever)

*2. Create a new shell script build phase (Edit target “Documentation”, click on the files & build phases tab, go to the Project->New Build Phase menu) for:

And now you can build API docs automatically from within PB.


Also check out the article at MacDevCenter (http://www.macdevcenter.com/pub/a/mac/2004/08/27/cocoa.html) about free documentation tools & Xcode.

–TheoHultberg/Iconara