diff options
author | Vitaly Takmazov | 2016-08-14 02:40:23 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-08-14 02:40:23 +0300 |
commit | 934f816c2e0851ea7faf7c7e5c4a84779a4accfe (patch) | |
tree | 445687177e2c9e60780ce0501cca8d75d4d31640 /Juick | |
parent | 8a79dcc214d525d1a59ee95173583976cd774287 (diff) |
downgrade restkit
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]; |