Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)callWebserviceFunctionX {
- dispatch_group_notify(self.serviceGroup, self.serialQueue, ^{
- dispatch_group_enter(self.serviceGroup);
- // call webservice
- });
- }
- -(void)callbackFunctionXWithResponse:(id)response {
- // do something
- dispatch_group_leave(self.serviceGroup);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement