Good day. You need to make a page at the top should be tabs. They should move as in UIScrollView as there can be a lot of them. Below the tabs is a table. When you click on a tab, the information in the table should change. The table could also be scrolled through and go to the next tab. I do not know whether it is described. I thought it was fashionable to add in UIScrollView as pictures via AddSubView() , but the name speaks for itself, it doesn't work that way. I assumed that there is an array with tabs; they are created when the Controller is loaded. What are the options?

  • The proposed thing fits me, the only thing instead of a ViewController is a TableViewController. I changed the class. But how to fill the cells, suppose from the array. Found just such a thing github.com/awseeley/Custom-Table-Cell but failed to cross. - Frigate

2 answers 2

Use this turnkey solution with github

Fully fit your description. Installation and configuration is described in the Readme.

  • Thank you very much. What you need. I'll try to figure it out. - Frigate
  • Please try to publish detailed answers containing a specific example of the minimum solution, supplementing them with a link to the source. Answers –references (like comments) do not add knowledge to Runet. - Nicolas Chabanovsky

I would recommend Cocoa Pod XLPagerTabStrip: github

It is updated and maintained by the pod author.