cocoaTouch/TeamConfigViewController.m
changeset 3487 b1d00f1950c8
parent 3377 a3f0849f26bc
child 3490 016b3172b645
equal deleted inserted replaced
3486:e1b1a4c18c5b 3487:b1d00f1950c8
   130 
   130 
   131     return cell;
   131     return cell;
   132 }
   132 }
   133 
   133 
   134 
   134 
   135 /*
       
   136 // Override to support conditional editing of the table view.
       
   137 - (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath {
       
   138     // Return NO if you do not want the specified item to be editable.
       
   139     return YES;
       
   140 }
       
   141 */
       
   142 
       
   143 
       
   144 /*
       
   145 // Override to support editing the table view.
       
   146 - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {
       
   147     
       
   148     if (editingStyle == UITableViewCellEditingStyleDelete) {
       
   149         // Delete the row from the data source
       
   150         [tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:YES];
       
   151     }   
       
   152     else if (editingStyle == UITableViewCellEditingStyleInsert) {
       
   153         // Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view
       
   154     }   
       
   155 }
       
   156 */
       
   157 
       
   158 
       
   159 /*
       
   160 // Override to support rearranging the table view.
       
   161 - (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath {
       
   162 }
       
   163 */
       
   164 
       
   165 /*
       
   166 // Override to support conditional rearranging of the table view.
       
   167 - (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath {
       
   168     // Return NO if you do not want the item to be re-orderable.
       
   169     return YES;
       
   170 }
       
   171 */
       
   172 
       
   173 #pragma mark -
   135 #pragma mark -
   174 #pragma mark Table view delegate
   136 #pragma mark Table view delegate
   175 -(void) tableView:(UITableView *)aTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
   137 -(void) tableView:(UITableView *)aTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
   176     NSInteger row = [indexPath row];
   138     NSInteger row = [indexPath row];
   177     NSInteger section = [indexPath section];
   139     NSInteger section = [indexPath section];