Created
September 30, 2008 20:28
-
-
Save augustjoki/13936 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
NSMutableArray *locations = [app.destLang locationsForCategoryId:category.id]; | |
if (locationsViewController == nil) { | |
locationsViewController = [[LocationsViewController alloc] initWithNibName:@"LocationsView" bundle:nil]; | |
} | |
locationsViewController.title = category.name; | |
locationsViewController.categoryId = category.id; | |
[[self navigationController] pushViewController:locationsViewController animated:YES]; | |
locationsViewController.locations = locations; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment