Devhelp Getting Started with Cocoa

Devhelp Getting Started with CocoaSince I don’t use Xcode for editing while on Mac, I’ve been reasonably frustrated by having to switch applications to access the Apple API reference while I can jump to the GNOME API Reference with single keypress in my editor.

Today I decided to do something about it and came up with awful XSLT (I believe it’s impossible to write XSLT that doesn’t make your eyes bleed) that converts the Apple documentation into a nice devhelp book you can browse. I can also get the function/keyword index from individual reference files (e.g. NSOpenGLContext) quite easily. Now I just need to figure out how to list all files automatically and how to organize the results better (all-in-one and class-per-book don’t quite work for 700+ html files.)