project_files/HedgewarsMobile/Classes/AboutViewController.m
changeset 5185 7607a64e1853
parent 4976 088d40d8aba2
child 5208 878e551f0b4a
equal deleted inserted replaced
5184:bf7bba60ed93 5185:7607a64e1853
    32 -(void) viewDidLoad {
    32 -(void) viewDidLoad {
    33     if ([self.tableView respondsToSelector:@selector(setBackgroundView:)])
    33     if ([self.tableView respondsToSelector:@selector(setBackgroundView:)])
    34         self.tableView.backgroundView = nil;
    34         self.tableView.backgroundView = nil;
    35     self.tableView.allowsSelection = NO;
    35     self.tableView.allowsSelection = NO;
    36 
    36 
    37     NSString *strPath = [NSString stringWithFormat:@"%@/credits.plist",IFRONTEND_DIRECTORY()];
    37     NSArray *array = [[NSArray alloc] initWithContentsOfFile:CREDITS_FILE()];
    38     NSArray *array = [[NSArray alloc] initWithContentsOfFile:strPath];
       
    39     self.people = array;
    38     self.people = array;
    40     [array release];
    39     [array release];
    41 
    40 
    42     NSString *imgName;
    41     NSString *imgName;
    43     if (IS_IPAD())
    42     if (IS_IPAD())