How to load more table view cells from json.

How do I show more table cells from the newsapi.org ; right now it only shows 19. How do I increase the number to show more when the user scrolls down ? Please look at the LatestNewsView Controller 
https://github.com/lexypaul13/Covid-News


Please look at the LatestNewsView Controller 

No, that's not the right way to use the forum.
you may post the GitHub link, but please take time and effort to copy the relevant code here.

Have you checked how you defined number of cells in section ?
Yes I have. This is the code that does that tries to accomplish the task of collecting more pages but doesn't work.

func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath) {

        let lastItem = articles!.count - 1

        if indexPath.row == lastItem{

        }

    }
        

        

 

        return cell

    }
Well, this code does nothing, so hard to say.

Could you show the real code of :
Code Block
    func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { }


and
Code Block
    func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {

How to load more table view cells from json.
 
 
Q