Generating HeaderDoc from Generated Code

Once you have generated Objective-C code for your mobile business objects, you can generate HeaderDoc (HTML reference information) on the Mac from the generated code. HeaderDoc provides reference information for the MBOs you have designed. The HeaderDoc will help you to programmatically bind your device application to the generated code.

  1. Navigate to the directory containing the generated code that was copied over from the Eclipse environment.
  2. Run:
>headerdoc2html –o GeneratedDocDir GeneratedCodeDir
>gatherheaderdoc GeneratedDocDir

You can open the file OutputDir/masterTOC.html in a Web browser to see the interlinked sets of documentation.

Note: You can review complete details on HeaderDoc in the HeaderDoc User Guide, available from the Mac OS X Reference Library at http://developer.apple.com/mac/library/navigation/index.html.