Xcode indexing tip

from blog The Desolation of Blog, | ↗ original
This is a tip to help Xcode find the proper documentation for the methods you use in your source code. Apparently Xcode needs a lot of help. I had implemented some Foundation framework methods in my code, but I was having trouble getting the documentation in Xcode. Option-clicking on the method declarations popped up popups that just said "No Quick Help", and command-clicking on the method declarations did not show the methods in the Foundation framework headers but rather did nothing other than momentarily change the highlight color of the method declarations in my source code. You've probably experienced this phenomenon before. It's ever so much fun! In this case, however, I found a solution.