Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add UITableView section using interface builder

I have a storyboard with UITableViewController subclass in it. It looks like this:

UITableView sections in interface builder

I inherited this project, so I didn't make the section inside table view by myself. I can't find a way to add table view section (blue box on the image) other than copy/pasting the existing one and modifying later.

The object library doesn't seem tho have this component.

I know that I can manipulate sections in code, but my question is can this section (blue box on the image) be added using IB only?

Thanks!

like image 517
Despotovic Avatar asked Nov 13 '15 11:11

Despotovic


1 Answers

Simply select your UITableView in the document outline and increment the sections like so:

Storyboard picture

like image 183
kabiroberai Avatar answered Oct 12 '22 02:10

kabiroberai