title: How to wait for a thread to finish in Objective-C
body: <p>I'm trying to use a method from a class I downloaded somewhere. The method executes in the background while program execution continues. I do not want to allow program execution to continue until this method finishes. How do I do that?</p>