I have a UITableViewController. I need to display a table cell followed by a cell that has an embedded UITextField. Basically i need to display the tableView datasource alternatively. Please help me on this.. Thanks.
EDIT #1: Imagine NSMutableArray *tableData; is the datasource for the table which has the following elements:
@"Apple"@"Mango"@"Watermelon"
I want the UITableView to be displayed as:
- 1st cell: Apple
- 2nd cell: text field to enter quantity
- 3rd cell: Mango
- 4th cell: text field to enter quantity
- 5th cell: Watermelon
- 6th cell: text field to enter quantity
- 7th cell: save button
Use dataSource method like this: