Get JSON API with AFNetworking

https://github.com/AFNetworking/AFNetworking

 1AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
 2  [manager GET:@"API path here"
 3    parameters:nil
 4       success:^(AFHTTPRequestOperation *operation, id responseObject) {
 5           // success logic
 6       }
 7       failure:^(AFHTTPRequestOperation *operation, NSError *error) {
 8           // fail logic
 9       }];
overlaied image when clicked on thumbnail

Makzan | Ios dev scrapbook | Table of Content