开发者

How to write CellForRowAtIndex for more than one uitableview on single uiview

开发者 https://www.devze.com 2023-03-27 05:20 出处:网络
I am trying to load three u开发者_如何学Goitableview on my uiview so i am getting the data on first uitableview but how can i write datasource code for ohter two as there is only one datasource method

I am trying to load three u开发者_如何学Goitableview on my uiview so i am getting the data on first uitableview but how can i write datasource code for ohter two as there is only one datasource method of uitableview i.e CellForRowAtIndex .

If any one has solution on this then do write to me.

Thnks in Advance

Paggy


I would use a data source and a delegate for each table view. Therefore you should have three data sources and three delegates. Alternatively you could use the tag property of the tableViews.

0

精彩评论

暂无评论...
验证码 换一张
取 消