Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 478 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 478 Bytes

JS3DTouchTableViewController

An easy way to add Peek and Pop to UITableViewController

Just use this as your superclass instead of UITableViewController and implement the tableView(tableView:, peekViewControllerForRowAt:) method:

class MyCustomTableViewController: JS3DTouchTableViewController {
...

  override func tableView(_ tableView: UITableView, peekViewControllerForRowAt indexPath: IndexPath) -> UIViewController? {
    return someViewController
  }
}