Starting from this section, we will talk about UITableView
. One of the kings' UI controllers in iOS which is used heavily in most of iOS apps. It manages a list of cells with scrolling capability because its superclass is UIScrollView
. UITableView
helps you to display, organize, categorize, add, delete, and update cells with easy-to-use APIs. In this section, we will see how to organize your cells in sections. We will see how to add headers and footers to your section using the header titles or custom views.
Before getting started in a sample demo to see how to organize your sections and deal with headers and footers, ensure that you have used UITableView before even if in a simple demo, to see how to use its delegate and data source. We will now build a demo app showing how to manage cells in sections and add headers and footers.