Two UITableView in the same view

前端 未结 6 790
Happy的楠姐
Happy的楠姐 2020-12-05 15:16

I want to know if it\'s allowed to use Multiple UItableView in the same View (i don\'t see any thing in the Apple\'s Human Interface Guidelines) and if it\'s OK

6条回答
  •  日久生厌
    2020-12-05 15:47

    To make life easier, you can pass in two different delegate to the UITableView. If you pass in the same delegate, you will have to do a lot of if statements. By creating two different delegate it will allow your code to be a lot cleaner.

提交回复
热议问题