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

iOS Build a Self-Destructing Message iPhone App Relating Users in Parse.com Removing Friends by Tapping on a Table View Cell

Friend lists are not updating

When clicking Back to go to the Friends View from the Edit Friends View, the list of friends in the Friend view is not updated. Similarly, after unchecking a friend in the Edit Friends view, if I go back to the Friends View and then click Edit Friends again, the Edit Friends list does not reflect the change.

4 Answers

Figured it outโ€”this is addressed in a later video. The lists need to be refreshed or required every time the view appears.

Kevin Duck
Kevin Duck
5,502 Points

In what video is this addressed?

Edit: I found the video: http://teamtreehouse.com/library/implementing-designs-for-iphone/implementing-custom-login-and-sign-up-screens/getting-up-to-speed

Looks like you have to put the part that refreshes the table in a method called "viewWillAppear" instead of "viewDidLoad".

it's hard to help when there's no code to look at.

I have the same question at https://teamtreehouse.com/forum/friends-list-not-updating-dynamically. Ben, were you at the end of stage 3 of the app at this point? What's the later video that you are talking about during which this problem is addressed?

http://teamtreehouse.com/library/implementing-designs-for-iphone/implementing-custom-login-and-sign-up-screens/getting-up-to-speed

@treehouse staff: please note this in the class notesโ€”astute students might notice this bug ahead of time

Thanks so much for your help. I was getting worried that I did something wrong and even went back to rewatch the videos a few times over. Didn't realize that the bug was noted in the video notes.

I have the same question at https://teamtreehouse.com/forum/friends-list-not-updating-dynamically. Ben, were you at the end of stage 3 of the app at this point? What's the later video that you are talking about during which this problem is addressed?