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 trialSean Lee
5,196 PointsSelf Destructing Message: Friends list is copied to other users when I relog in
When I log out of my account and log into other users, the friends list is transferred/copied to the second account. Is there a way to clear out all your info whenever you log out? Is the friend list in some way still stored in memory?
2 Answers
Fernando Claussen
9,324 PointsYou need to take your code that loads the friends relations from viewDidLoad to viewWillAppear:animated
Sean Lee
5,196 Pointsthanks! that did it.