The upper part of the selection (where it says “Latest News, Updated Moments ago”) is the custom view they created and assigned to the tableHeaderView property of the table.
The bottom of the selection (where it says “Today”) is the heading of the table section. Each section of the table receives an optional title. They probably made them by implementing – tableView:titleForHeaderInSection:in their class, implementing the UITableViewDataSource protocol, and returned the @ "Today" line for this section.
source
share