How to wait for threading blocks to finish
问题 I am having issues with threading in my app. This is the first time I have used both AFNetworking and Parse. The problem is that I am calling both features and they both are required to finish before moving onto the next segue. Here is my code. The first block is for the network request using AFHTTP and the second is the parse request. AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager]; NSDictionary *parameters = @{@"foo": @"bar"}; [manager POST:@"http://example