Swift Firebase sort by last 10 and then show 10 new values
问题 I am currently having trouble with displaying values through my tableview, as I am creating this Instagram/Facebook-like feed, where the tableView updates at the bottom(simply fetches new value from the database through firebase). However, I am really struggling with populating the tableView with non-dulpicate data. I am currently sorting my firebase ref by child (timestamp), and by default I display the "queryLimitedToLast(10)". However, here comes the problem. I can't really find a way to