Created
December 1, 2009 01:31
-
-
Save ejknapp/245974 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Application Data Initialization | |
- (void)awakeFromNib { | |
// NSLog(@"waking up!"); | |
[self managedObjectContext]; | |
self.hostURL = @"http://flak.heroku.com"; | |
NSHTTPCookieStorage *cookieStorage = [NSHTTPCookieStorage sharedHTTPCookieStorage]; | |
[cookieStorage setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways]; | |
self.coreDataManager = [[FlakCoreDataManager alloc] init]; | |
self.coreDataManager.managedObjectContext = [self managedObjectContext]; | |
self.coreDataManager.flakManager = self; | |
self.serverManager = [[FlakServerManager alloc] init]; | |
self.serverManager.flakManager = self; | |
self.settingsManager = [[FlakSettingsManager alloc] init]; | |
self.settingsManager.flakManager = self; | |
[self startTimerForKeepAlive]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment