Skip to content

Commit

Permalink
faster image loading and local caching..
Browse files Browse the repository at this point in the history
  • Loading branch information
sussaman committed Dec 2, 2013
1 parent 0dbcc3a commit 688fe99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Demo/Demo/Application/AppConstants.h
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#define kBaseURL @"https://itunes.apple.com"
#define kBaseURL @"https://itunes.apple.com"
#define kAppQuery @"/us/rss/topfreeapplications/limit=100/json"
2 changes: 1 addition & 1 deletion Demo/Demo/Controller/WebServiceManager/WebServiceManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@implementation WebServiceManager
+(void)fetchAppsOnCompletion:(FetchCompletionHandler )handler {
SSRestManager *restManager = [[SSRestManager alloc] init];
[restManager getJsonResponseFromBaseUrl:kBaseURL query:@"/us/rss/topfreeapplications/limit=100/json" onCompletion:^(NSDictionary *json) {
[restManager getJsonResponseFromBaseUrl:kBaseURL query:kAppQuery onCompletion:^(NSDictionary *json) {
if (json) {
NSArray *apps = json[@"feed"][@"entry"];
NSMutableArray *appsFullList = [[NSMutableArray alloc] init];
Expand Down

0 comments on commit 688fe99

Please sign in to comment.