summaryrefslogtreecommitdiff
path: root/Juick/AppDelegate.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-08-14 02:40:23 +0300
committerGravatar Vitaly Takmazov2016-08-14 02:40:23 +0300
commit934f816c2e0851ea7faf7c7e5c4a84779a4accfe (patch)
tree445687177e2c9e60780ce0501cca8d75d4d31640 /Juick/AppDelegate.m
parent8a79dcc214d525d1a59ee95173583976cd774287 (diff)
downgrade restkit
Diffstat (limited to 'Juick/AppDelegate.m')
-rw-r--r--Juick/AppDelegate.m5
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];