- create two viewcontroller, the first is to make a list of table view provinces in China, and the other detail view is to display the specific content corresponding to the relevant information of each province when you click on table view"s cell. The content in the
- detail view is loaded according to the user"s choice in the table view.
- can I make 32 class, that is, .swift files, each with different content. Then, based on the user"s click, determine which class"s content can be displayed in the detail view. So I don"t have to do 32 detail view.
or is there a better way?