I have a call out to a restful API. I need to wait for the call to complete before I can validate the results. Pretty common problem yet I cannot find a decent answer on how to incorporate this into an XCTestCase. I have seen semaphores, locks, for loops all cluttering up code to run what should be a simple case. Running iOS 7 in xcode 5.
There has to be an easier option.