Created
February 13, 2012 23:24
-
-
Save kylefox/1821406 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
if(credentials) { | |
ProjectListViewController *projectList = [[ProjectListViewController alloc] init]; | |
projectList.projects = [Portfolio portfolioWithCredentials:credentials].projects; | |
[self.navigationController pushViewController:projectList animated:NO]; | |
} else { | |
// Instantiate LoginViewController and push it. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment