jody-bailey / EagleSocial

2 stars 3 forks source link

The Profile VC New's Feed is replicating posts #102

Closed MrsSimpson closed 6 years ago

MrsSimpson commented 6 years ago

The current users posts are replicating in the table view.

MrsSimpson commented 6 years ago

Issue was resolved by moving the for loop that stores the current users posts to the func tableView.... numberOfRowsInSelection. I also added a variable that counts the posts and then return that integer. This keeps the posts from replicating to fill unnecessary table cells.