I am getting ready to update an iOS 6 iPhone app to iOS8. The second line of this code produces an error message ("text" is deprecated. First deprecated in iOS 3.0). The syntax error has been in my app for years not causing a problem but I thought I would clean up any errors before completing my iOS 8 version.
- (void)tableView:(UITableView *)tv1 didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
[appDelegate muniClicked:[[tableView cellForRowAtIndexPath:indexPath] text]];
NSLog(@"cell clicked {%d, %d}}", indexPath.row, indexPath.section);
}