i need to create an iPad app where i have to show multiple tables(no grid, just 1 collumn with multiple rows) in one single view. this have to be done programmatically because in a back-office someone is going to set that number of tables.
the view will have a scroll so i can see all of them.
Can this be done right ?
can someone provide my some code or link to some tutorial about how to create a N number of tables in one view positioning them whenever i want.
This absolutely can be done.
Probably the easiest way you can do this is to subclass UITableView, so that each TableView you create can have a unique handler for its delegate and datasource, ala:
DynamicTableView.h
DynamicTableView.m
This is a very simple implementation, that when it’s initialized fills its datasource (the items array) with two timestamps. Using it is as simple as something like:
Modify the DynamicTableView to accept whatever data source you want and how it is displayed.
Hope that helps!