equal
deleted
inserted
replaced
215 static NSString *CellIdentifier0 = @"Cell0"; |
215 static NSString *CellIdentifier0 = @"Cell0"; |
216 static NSString *CellIdentifier1 = @"Cell1"; |
216 static NSString *CellIdentifier1 = @"Cell1"; |
217 static NSString *CellIdentifier2 = @"Cell2"; |
217 static NSString *CellIdentifier2 = @"Cell2"; |
218 |
218 |
219 NSArray *hogArray; |
219 NSArray *hogArray; |
220 UITableViewCell *cell; |
220 UITableViewCell *cell = nil; |
221 NSInteger row = [indexPath row]; |
221 NSInteger row = [indexPath row]; |
222 UIImage *accessoryImage; |
222 UIImage *accessoryImage; |
223 |
223 |
224 switch ([indexPath section]) { |
224 switch ([indexPath section]) { |
225 case 0: |
225 case 0: |
226 |
|
227 cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier0]; |
226 cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier0]; |
228 if (cell == nil) { |
227 if (cell == nil) { |
229 cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault |
228 cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault |
230 reuseIdentifier:CellIdentifier0] autorelease]; |
229 reuseIdentifier:CellIdentifier0] autorelease]; |
231 // create a uitextfield for each row, expand it to take the maximum size |
230 // create a uitextfield for each row, expand it to take the maximum size |