Please help to get this started.
coder-efay opened this issue · 3 comments
coder-efay commented
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.
Please help! thank you very much!!
coder-efay commented
jbarros35 commented
it does not look to work. I'm on swift 4
marcoswmv commented
I am facing the same issue. On God, what's the solution for this?