SSRestClient

Sample network call.


License
MIT
Install
pod try SSRestClient

Documentation

SSRestClient

SSRestClient is a resuable IOS components for network call to ease task of differnt type REST based network call.

  • Easy to use
  • Support different HTTP methods
  • Using Objective-C

SSRestClient is a lightweight resuable component using Objective C language and NSURLConnection class:

Version

2.0.0

Installation

  • Copy "SSRestClient" folder and Paste it inside your project folder.
  • Add "SSRestClient" folder in your project file.

Development

Sample service call

 -(void)demoServiceCall { SSRestManager *restManager = [[SSRestManager alloc] init]; 
 NSString *baseUrlString = @"http://itunes.apple.com";
 NSString *queryString = @"/us/rss/topfreeapplications/limit=100/json";
 [restManager getJsonResponseFromBaseUrl:baseUrlString query:queryString onCompletion:^(NSDictionary *json) { 
  NSLog(@"%@",json); } onError:^(NSError *error) { NSLog(@"%@",error); }]; 
 }

License

NONE