Suppose i want to allocate some space on the screen for a few rectangles, each responsible for holding some data. I am thinking it’ll be a TableView with 3 rows
What would be the object representing the outer shape, the box table will sit in?
/-----------\
| some txt |
| more txt |
| other txt |
\-----------/
/-----------\
| some txt |
| more txt |
| other txt |
\-----------/
I suppose i could make it a unclickable UIButton, but putting UITableView inside seems awkward.
How is it done in Stocks application? There is a section on top and a section towards the bottom.
You have different headers per tableView: one for the tableView, and you can have one for each section
Green ist the tableViewHeader, while blue shows sectionHeaders.
You will find the code for this App here: MyContacts
For any
…header…method there is a corresponding…footer…method.How it is done in the Stock app, I just can guess: I think somehow similar.
To judge if this is the right solution for you, you don’t give enough informations. But I think so.