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
Ranjay Salmon
20,441 Pointsextra credit- friends detail page of self destructing app, my data keeps updating with the previous person selected info
When i select on a user in the friends tab the data that is displayed in the friends detail page view controller, is that of the previous user selected.
2 Answers
Stone Preston
42,016 Pointsdouble check your table view delegate methods. make sure you implemented didSelectRowAtIndexPath, not didDeselectRowAtIndexPath. the method you need to implement is didSelectRowAtIndexPath
Ranjay Salmon
20,441 Pointsi'm using the right method and its still the same bug, the data being transferred is correct, its just once i try to updated the text label's in the details page view controller , i get the previous item instead of the current one