Created
July 12, 2021 16:54
-
-
Save atulkhatri/537f12044a825405253e8f17829866c1 to your computer and use it in GitHub Desktop.
tvOS Bootcamp TabBarViewController
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private func setupView() { | |
let moviesVC = HomeViewController(nibName: "HomeViewController", bundle: nil) | |
moviesVC.title = "Movies" | |
let seriesVC = HomeViewController(nibName: "HomeViewController", bundle: nil) | |
seriesVC.title = "Series" | |
let settingsVC = SettingsViewController(nibName: "SettingsViewController", bundle: nil) | |
settingsVC.title = "Settings" | |
viewControllers = [moviesVC, seriesVC, settingsVC] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment