How to create multiple table view in a View Controller for iPad?

前端 未结 3 1579
心在旅途
心在旅途 2021-01-14 09:57

I am working with the universal apps. Now i want to create a three table views in my view controller for iPAD. I have three separate view controllers with XIB.So how can i a

3条回答
  •  盖世英雄少女心
    2021-01-14 10:32

    I wrote an example with two TableViews on one view. In my code each TableView has it own controller, as I can avoid if else blocks in my delegate methods, as this would lead to high and unwanted coupling.
    These codes are very rough, as I was a beginner, when I wrote it. i.e. I am not using properties in it.
    The TableViews itself can be added to their super view via Interface Builder.

提交回复
热议问题