I have a method that returns a value (an NSArray), and the implementation of the method contains calls a method that has a completion block. What I would like to do is to return an NSArray that is obtained from within the completion block.
Is there any way that I can delay returning a value from this method until the completion block has finished executing? Thank you.