Hello, here is a print out example of one of the post:
GLIMPSEINFO..["glimpseCaption": diving!, "profileImageUrl": https://firebasestorage.goo000000.com:443/v0/b/APPNAME00000.appspot.com/o/profileImages%...., "currentCity": Miami,FL, "timestamp": 1632796611, "age": 48, "firstName": Eduardo, "glimpseImageUrl": https://firebasestorage.goo000000.com:443/v0/b/APPNAME00000.appspot.com/o/glimpse%2FYzWhJlzYLkhzQXxxxxxxqffMNmw1%2FDA73DFD.....
I use reloadData() inside the for loop because if I don't, the table view does not load the data. It has to be done after fetching the data from Firebase. Regarding glimpse.removeAll(), if I pull down to refresh the data, I'm downloading the info again and if there are any changes I need to make sure the array and firebase have the same data.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: