mindz-eye / MYTableViewIndex

A pixel perfect replacement for UITableView section index, written in Swift
MIT License
523 stars 52 forks source link

Configurable minWidth and styling in constructor #24

Closed woko666 closed 5 years ago

woko666 commented 6 years ago

This PR adds configurable minWidth instead of hardcoded 44 points, and extends the TableViewIndexController constructor with styling options so that you don't have to do styling like this: tableViewIndexController.tableViewIndex.font = UIFont.boldSystemFont(ofSize: 12.0)

mindz-eye commented 5 years ago

I've merged all the changes except styling in constructor. Thanks!