I'm a bit confused about GCD
I try caling a class where my webservice call is executed:
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
[searchService doSearch:self.searchData];
});
I'm using Sudzc-generated webservice. The actual service call to the service generated with Sudzc and is inside the SearchService class is the following:
[service doSearch:self action:@selector(doSearchHandler:) e: searchArgs];
Once the call is done I should return to:
- (void) doSearchHandler: (id) value {
}
Without using the GCD it works fine, but when I add it, I never return to the doSearchHandler method.