As already answered here I start by a few google searches, changing words multiple times as it is not always easy to sum up an issue in a google search. Then I look in my contact list on gtalk/skype trying to find someone who could have a fresh view of my code/problem. Most of the time, explaining my bug and my code to them leads me to a "oh snap that's it moment" or they provide some general ideas.
But I also still use IRC a lot. Depending on the framework/language there's always one or two IRC channels where you'll find people who can help you or at least point you in the right direction so you should search for some good IRC channels specific to obj-C development and hang there while you code.