UITableView with Firebase Database

I am currently in the process of developing an app and have a few questions regarding the use of a Firebase database and a UITableView:

  1. Is it possible to read data from a Firebase database and use code to display this data as labels within the table view? If so, how would I go about doing this?

  2. Could I set up something where I can add collections and documents to the Firebase database and the app would automatically create new table view cells containing the newly entered information as labels?

I have included an image of how I am currently reading the data from my Firebase database for reference.
I would really appreciate any help with either of my questions.

it seems like you haven’t explored about collectionviews/tableviews too much yet, yes this is all possible i suggest looking into the match game app https://www.youtube.com/playlist?list=PLMRqhzcHGw1YdahNsCLZdSVfNv0stwvdx