How to add VIEWCONTROLLER in batch

I only want to add new classes, and the corresponding viewcontroller does not have to be added to storyboard every time

when I am in navigation mode, the first page is to add a tableview, and click on the name of each province in tableview cell (to jump to the corresponding page (the introduction page of each province).

if I have a hundred cells, I can create a hundred new classes, but I don"t want to drag a hundred viewcontroller out of the storyboard. What if it is implemented in code?

are there any methods or suggestions?

May.15,2021

Why must the introduction page of each province correspond to a viewcontroller? the introduction of each province must have relevant data. After you click on cell, jump to a province introduction page directly, and then set different data for the introduction page. What an idea to build a hundred viewcontroller.

Menu