diff options
Diffstat (limited to 'Juick')
-rw-r--r-- | Juick/AppDelegate.m | 5 |
1 files changed, 1 insertions, 4 deletions
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]; |