cocoaTouch/PopoverMenuViewController.m
changeset 3357 3836a31879e7
parent 3340 96dd168b080b
child 3463 23c50be687a9
equal deleted inserted replaced
3356:3ae3fccb439e 3357:3836a31879e7
    21 
    21 
    22 
    22 
    23 -(void) didReceiveMemoryWarning {
    23 -(void) didReceiveMemoryWarning {
    24     // Releases the view if it doesn't have a superview.
    24     // Releases the view if it doesn't have a superview.
    25     [super didReceiveMemoryWarning];
    25     [super didReceiveMemoryWarning];
    26     self.menuList = nil;
       
    27 }
    26 }
    28 
    27 
    29 -(void) viewDidLoad {
    28 -(void) viewDidLoad {
    30     isPaused = NO;
    29     isPaused = NO;
    31     self.tableView.allowsSelection = YES;
    30 
    32     self.tableView.alwaysBounceVertical = YES;
       
    33     self.tableView.delaysContentTouches = NO;
       
    34     menuList = [[NSArray alloc] initWithObjects:
    31     menuList = [[NSArray alloc] initWithObjects:
    35                 NSLocalizedString(@"Pause Game", @""),
    32                 NSLocalizedString(@"Pause Game", @""),
    36                 NSLocalizedString(@"Chat", @""),
    33                 NSLocalizedString(@"Chat", @""),
    37                 NSLocalizedString(@"End Game", @""),
    34                 NSLocalizedString(@"End Game", @""),
    38                 nil];
    35                 nil];