Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with View Controllers #33

Closed
boshd opened this issue Aug 30, 2016 · 3 comments
Closed

Problem with View Controllers #33

boshd opened this issue Aug 30, 2016 · 3 comments

Comments

@boshd
Copy link

boshd commented Aug 30, 2016

Any UI design or work I do directly on one of the view controllers in the storyboard doesn't show up when compiled. It seems that i cant do any work outside the actual .Swift file. what's going on?

extension INTNavigationController: EZSwipeControllerDataSource {
    func viewControllerData() -> [UIViewController] {

        let feedVC = FeedViewController()
        //feedVC.view.backgroundColor = UIColor.hotPink()
        let cameraVC = CameraViewController()
        //cameraVC.view.backgroundColor = UIColor.hotBlack()
        let profileVC = ProfileViewController()
        //profileVC.view.backgroundColor = UIColor.hotGreen()

        return [feedVC, cameraVC, profileVC]
    }
}
@Esqarrouth
Copy link
Owner

I don't work with storyboard so I can't test this. But its probably about init from storyboard method.

@chadpav
Copy link

chadpav commented Sep 13, 2016

Instead of init'ing your VC's directly you need to use the Storyboard to instantiate them.
e.g.
storyboard().instantiateViewControllerWithIdentifier("FeedViewController")

@JFKingsley
Copy link
Collaborator

Chad seems to have got it - If there are any more issues related to the Library directly feel free to open them!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants