Skip to content

Instantly share code, notes, and snippets.

@pratikshabhisikar
Created February 26, 2013 18:01
Show Gist options
  • Save pratikshabhisikar/5040596 to your computer and use it in GitHub Desktop.
Save pratikshabhisikar/5040596 to your computer and use it in GitHub Desktop.
#import <Foundation/Foundation.h>
typedef void(^FetchCabsCompletionHandler)(NSMutableArray *outboundCabs, NSMutableArray *inboundCabs, NSError *error);
@class TravelDetails;
@interface FetchCabs : NSObject {
}
-(void) fetchCabsWithTravelDetails:(TravelDetails *) travelDetails completionHandler:(FetchCabsCompletionHandler) completionBlock;
-(void) cancel;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment