I have a UITableView displaying a list of Cities. I want to separate them by State. I can\'t seem to figure out how to get it to pick the right items out of my Array. If Sectio
The method is called
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
The indexpath parameter contains a row and section property.
indexPath.section indexPath.row
Here's documentation link for the NSIndexPath class.