project_files/HedgewarsMobile/Classes/MapConfigViewController.m
changeset 6908 896ed2afcfb8
parent 6869 a187c280dd3d
child 8441 a00b0fa0dbd7
equal deleted inserted replaced
6907:a2f9a9a62dc5 6908:896ed2afcfb8
   112     return [[self.dataSourceArray objectAtIndex:scIndex] count];
   112     return [[self.dataSourceArray objectAtIndex:scIndex] count];
   113 }
   113 }
   114 
   114 
   115 -(UITableViewCell *)tableView:(UITableView *)aTableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
   115 -(UITableViewCell *)tableView:(UITableView *)aTableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
   116     static NSString *CellIdentifier = @"Cell";
   116     static NSString *CellIdentifier = @"Cell";
   117     NSInteger row = [indexPath row];
   117     NSUInteger row = [indexPath row];
   118 
   118 
   119     UITableViewCell *cell = [aTableView dequeueReusableCellWithIdentifier:CellIdentifier];
   119     UITableViewCell *cell = [aTableView dequeueReusableCellWithIdentifier:CellIdentifier];
   120     if (cell == nil)
   120     if (cell == nil)
   121         cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
   121         cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
   122 
   122