Last active
August 29, 2015 14:15
-
-
Save atwalsh/7a914c46487363d1a90a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
//inside didFinishLaunchingWithOptions in deleagte | |
if ([PFUser currentUser]) { | |
// Present wall straight-away | |
[self presentWallViewControllerAnimated:NO]; | |
} else { | |
// Go to the welcome screen and have them log in or create an account. | |
[self presentLoginViewController]; | |
} | |
// end | |
- (void)presentWallViewControllerAnimated:(BOOL)animated { | |
PAWWallViewController *wallViewController = [[PAWWallViewController alloc] initWithNibName:nil bundle:nil]; | |
wallViewController.delegate = self; | |
[self.navigationController setViewControllers:@[ wallViewController ] animated:animated]; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://parse.com/tutorials/anywall#24-session-cache