Created
February 27, 2010 03:03
-
-
Save mike3k/316432 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
NSString *viewName = [_views objectAtIndex:indexPath.row]; | |
Class viewclass = NSClassFromString(viewName); | |
if (nil != viewclass) { | |
UIViewController *detailView = [[viewclass alloc] initWithNibName:viewName bundle:nil]; | |
[self.navigationController pushViewController:detailView animated:YES]; | |
[detailView release]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment