noppefoxwolf / StackPageView

Stacked style tableview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StackPageView

Vertical page view with UIViewControllers stacked on the top of each other

Install

add StackPageView.swift your project.

How to Use

class ViewController: UIViewController,StackViewDataSource {

    @IBOutlet weak var stackPageView: StackPageView!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        stackPageView.dataSource = self
        stackPageView.parentViewController = self
    }

    func stackViewNext(currentViewController: UIViewController?) -> UIViewController {
        return DummyViewController()
    }
    
    func stackViewPrev(currentViewController: UIViewController?) -> UIViewController {
        return DummyViewController()
    }

}

#Support Support with initWithFrame and Storyboard.

#LICENSE MIT

About

Stacked style tableview


Languages

Language:Swift 100.0%