EndouMari / TabPageViewController

Paging view controller and scroll tab view
MIT License
1.39k stars 221 forks source link

Please help to get this started. #102

Open coder-efay opened 5 years ago

coder-efay commented 5 years ago

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!!

coder-efay commented 5 years ago

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

jbarros35 commented 4 years ago

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

marcoswmv commented 4 years ago

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