I have a table view with sections and each section has its own array … I have 13 sections,And each section has different topics.
How do I do in the method?
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
How do I make the switch?
Switch(indexpath.section)
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath`
switch (indexPath.section){
case 0:cell.textLabel.text=@"";
break;
.
.
.
case n://display whatever wantbreak;
default:break;
}}