O'Reilly logo

iOS Programming Cookbook by Hossam Ghareeb

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using TableView sections, headers and footers

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.

Getting ready

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required