Post

Replies

Boosts

Views

Activity

Comment on UITableView refresh issue
that did it!!!! thank you so much, I'v been scratching my head with this for 2 days. One more question (if allowed) is there other way or best way to refresh a table view without the use of UIRefreshControl or a listener? I've also added handleRefresh inside viewDidAppear and viewWillAppear, this duplicates the first batch of docs I get from Firebase. Thank you again!!!
Topic: UI Frameworks SubTopic: UIKit Tags:
Sep ’21
Comment on UITableView refresh issue
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:
Sep ’21
Comment on Swift user online status updates but it repeats on cells that is not supposed to
thank you for your reply Scoot, yes, i was thinking on moving the checkUserOnlineStatus function to the view controller. I'll have to create a delegate, since the onlineViewStatus UIView is part of the cell. I'll give it a try and will update my code here. thank you again.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jan ’23
Comment on UITableView reload not working
Everything works as expected with the exception of reloading the table view once I go back to the memberListVCr. The table view needs to reload as soon as the other views are removed from the stack.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on UITableView reload not working
just added that and the model too.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on UITableView refresh issue
that did it!!!! thank you so much, I'v been scratching my head with this for 2 days. One more question (if allowed) is there other way or best way to refresh a table view without the use of UIRefreshControl or a listener? I've also added handleRefresh inside viewDidAppear and viewWillAppear, this duplicates the first batch of docs I get from Firebase. Thank you again!!!
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21
Comment on UITableView refresh issue
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:
Replies
Boosts
Views
Activity
Sep ’21