A tutorial for using Doxygen to automatically generate code documentation from within Xcode.
This article uses a version of Xcode from 2004, but the descriptions are still pretty accurate. Pair this with Using Doxygen to create Xcode Documentation Sets to create either normal documentation or Xcode 3 doc sets.