Skip to content

NicolasKim/DTContainerViewController

Repository files navigation

DTContainerViewController

CI Status Version License Platform

Example

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

Requirements

Installation

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

pod "DTContainerViewController"

Usage

Inherit or addChildViewController and set the delegate.

implement DTContainerViewControllerDataSource protocol method like

-(UIViewController *)viewControllerAtIndex:(NSUInteger)index{
    return self.vcArr[index];
}

-(NSUInteger)numberOfChildViewController{
    return 11;
}

implement DTContainerViewControllerDelegate protocol method for observe the transition progress

The DTScrollTitleBar is bonus!! You're welcome!!

And the guide of making container viewcontroller,you just need to look at my blog

Demo

gif

Author

NicolasKim, [email protected]

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published