diff -r 2a8f385ab466 -r b576460ba8ad cocoaTouch/MainMenuViewController.m --- a/cocoaTouch/MainMenuViewController.m Sun Mar 21 16:04:57 2010 +0000 +++ b/cocoaTouch/MainMenuViewController.m Sun Mar 21 16:42:41 2010 +0000 @@ -143,14 +143,12 @@ [alert release]; } -/* -(IBAction) switchViews:(id)sender { // view not displayed or not created if (nil == self.settingsViewController.view.superview) { // view not created if (nil == self.settingsViewController) { - SettingsViewController *controller = [[SettingsViewController alloc] initWithNibName:@"SettingsViewController" - bundle:nil]; + SettingsViewController *controller = [[SettingsViewController alloc] initWithNibName:@"SettingsViewController" bundle:nil]; self.settingsViewController = controller; [controller release]; } @@ -167,6 +165,5 @@ [self.view insertSubview:settingsViewController.view atIndex:0]; } } -*/ @end