Latest 0.1.1
License MIT
Platforms ios 8.0, requires ARC

[![CI Status]( Chan/TableScrollNavigation.svg?style=flat)]( Chan/TableScrollNavigation)



To run the example project, clone the repo, and run pod install from the Example directory first.

Make sure to use subclass of TableScrollNavigationController for your UINavigationController and subclass of TableScrollNavigationViewController for your UIViewController.


This is the class that will create the navigation table on top of the navigation bar for you. You usually don’t have to do anything for this class. You can either set the class of your UINavigationController in your storyboard, or create programmatically a TableScrollNavigationController instance in your code.


This class will attach the scroll view you have to the navigation bar(bar + table on top of it) so it will follow the scroll with the scroll view. It will also push a navigation item to TableScrollNavigationController to add the item on the table on top of the navigation bar.

Use attachScrollableView(_:) to attach your scrollView so navigation bar will start follow it.

    override func viewDidLoad() {


Use pushViewController(_:animated:title:) to push VC to TableScrollNavigationController and add an item to the table on top of the navigation bar.

    func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
        let vc = self.storyboard?.instantiateViewControllerWithIdentifier("ViewController") as! ViewController
        if let nc = navigationController as? TableScrollNavigationController{
            nc.pushViewController(vc, animated: true, title: "Section 2.1")



TableScrollNavigation is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "TableScrollNavigation"


Cyrus Chan, [email protected]


TableScrollNavigation is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "TableScrollNavigation",
    "version": "0.1.1",
    "summary": "A subclass of UINavigationController that provides a table on top of navigation bar to show the stack of the navigations",
    "description": "This CocoaPod provides the ability to show a stack of navigation on your app through a table at the top of navigation bar. The table is scrolling to maximize the content view. It is similar to the navigation bar you can see in Explore tab of the App Store where users can see their navigation stacks of the categories and sub-categories that they select"",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Cyrus Chan": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.1.1"
    "platforms": {
        "ios": "8.0"
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "TableScrollNavigation": [

Pin It on Pinterest

Share This