I've been using Xcode and Objective-C for years, and rely heavily on the built-in documentation, which is for the most part good.
There's an issue that's always bothered me. Today I was looking up a function called class_getName. I found its documentation page, and was also able to navigate to the page showing the overview of the runtime system, all of which is fine.
When I typed "class_getName" into my program, the compiler immediately flagged it as an unknown symbol.
I knew I probably had to include a header, but none of the documentation pages I looked at mentioned the name of the header file. I had to end up searching the internet for examples until I hit one that showed <objc/runtime.h> being imported.
Why isn't this very small, simple and extremely useful bit of information included in the documentation?
Frank