Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Sai Kiran Dasika
Courses Plus Student 7,278 PointsBig Problem in the Ribbit App.
Hey, if u know why this problem is occurring in the function where we have to deselect a row to delete and user as a friends the function is named is something like deselectRowAtIndex. This does not work properly in the Xcode version I have currently.(The Xcode version I have i the latest). Please reply ASAP
2 Answers
Thomas Nilsen
14,957 Pointsif I understand you correctly, try calling
[self.tableView deselectRowAtIndexPath:indexPath animated:YES];
in the didselect-delegate method
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{}
Sai Kiran Dasika
Courses Plus Student 7,278 PointsOk thanks I will try it now .