project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m
branchios-develop
changeset 13166 ba5c794adae3
parent 12872 00215a7ec5f5
child 13191 0c1f3a8ba0bb
equal deleted inserted replaced
13164:eefd6d066768 13166:ba5c794adae3
   198 
   198 
   199 - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
   199 - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
   200     return [self.listOfMissionIDs count];
   200     return [self.listOfMissionIDs count];
   201 }
   201 }
   202 
   202 
   203 -(CGFloat) tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
   203 - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
   204     return (IS_IPAD()) ? self.tableView.rowHeight : 80;
   204     return (IS_IPAD()) ? self.tableView.rowHeight : 80;
   205 }
   205 }
   206 
   206 
   207 -(UITableViewCell *)tableView:(UITableView *)aTableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
   207 -(UITableViewCell *)tableView:(UITableView *)aTableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
   208     static NSString *CellIdentifier = @"CellTr";
   208     static NSString *CellIdentifier = @"CellTr";