Customizable index for UITableView

I am developing an eBook-ish app right now. It’s not a ‘flip the pages’ kind of eBook, but rather a traditional iPhone app where you browse the various chapters.

Although it uses mostly off-the-shelf UIKit elements (views, view controllers, buttons, etc.) the visual designed is pretty much customized in terms of colors, typefaces, etc.

The main section consists of a UITableView where each row is a chapter in the book; i.e., a table of contents. There are more than a hundred chapters (but each chapter is quite short), so having the user scroll the table all the way down is unreasonable.

Continue reading