EndouMari/TabPageViewController

Please help to get this started.

coder-efay opened this issue · 3 comments

Here is the step i took,
1)Install pod 'TabPageViewController'
2) code for my ViewCOntroller
`import UIKit
import TabPageViewController

class ViewController: TabPageViewController {

let tabPageViewController = TabPageViewController.create()
let vc1 = UIViewController()
let vc2 = UIViewController()


override func viewDidLoad() {
    super.viewDidLoad()



    tabPageViewController.tabItems = [(vc1, "First"), (vc2, "Second")]


}

}`
Then I run and get error as attched.
screen shot 2019-02-06 at 9 52 20 am

Please help! thank you very much!!

Please let me know what code you use to make the most simple view like this.

screen shot 2019-02-06 at 9 54 45 am

it does not look to work. I'm on swift 4

I am facing the same issue. On God, what's the solution for this?