From 934f816c2e0851ea7faf7c7e5c4a84779a4accfe Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 14 Aug 2016 02:40:23 +0300 Subject: downgrade restkit --- Juick/AppDelegate.m | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Juick') diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m index 7c90018..576e11e 100644 --- a/Juick/AppDelegate.m +++ b/Juick/AppDelegate.m @@ -29,11 +29,8 @@ // make the status bar white [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent; - AFNetworkActivityIndicatorManager.sharedManager.enabled = YES; - NSURL *baseURL = [NSURL URLWithString:@"https://api.juick.com"]; - AFHTTPClient* client = [[AFHTTPClient alloc] initWithBaseURL:baseURL]; - RKObjectManager *objectManager = [[RKObjectManager alloc] initWithHTTPClient:client]; + RKObjectManager *objectManager = [RKObjectManager managerWithBaseURL:baseURL]; [RKObjectManager setSharedManager:objectManager]; MessagesViewController *messages = [[MessagesViewController alloc] init]; -- cgit v1.2.3