--- a/cocoaTouch/MainMenuViewController.m Sat Mar 20 23:33:37 2010 +0000
+++ b/cocoaTouch/MainMenuViewController.m Sun Mar 21 01:54:57 2010 +0000
@@ -111,6 +111,20 @@
[NSThread exit];
}
+-(void) appear {
+ [UIView beginAnimations:@"inserting main controller" context:NULL];
+ [UIView setAnimationDuration:1];
+ self.view.alpha = 1;
+ [UIView commitAnimations];
+}
+
+-(void) disappear {
+ [UIView beginAnimations:@"removing main controller" context:NULL];
+ [UIView setAnimationDuration:1];
+ self.view.alpha = 0;
+ [UIView commitAnimations];
+}
+
#pragma mark -
#pragma mark Action buttons
-(IBAction) startPlaying {