[Solved] how can I use NSURLConnection Asynchronously?
Block code is your friend. I have created a class which does this for you Objective-C Block code. Create this class here Interface class #import <Foundation/Foundation.h> #import “WebCall.h” @interface WebCall : NSObject { void(^webCallDidFinish)(NSString *response); } @property (nonatomic, retain) NSMutableData *responseData; -(void)setWebCallDidFinish:(void (^)(NSString *))wcdf; -(void)webServiceCall :(NSString *)sURL_p : (NSMutableArray *)valueList_p : (NSMutableArray *)keyList_p; @end Implementation … Read more