0

How to set custom class for a view controller from storyboard to point to PageTabBarController?

enter image description here

Currently I am getting

    *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', 
reason: 'Could not load NIB in bundle: 'NSBundle </Developer/CoreSimulator/Devices/D0067EFA-F147-4500-9528-835B359CE993/data/Containers/Bundle/Application/9AB84E67-96A5-4CC0-AA53-3F292511260E/PageTabBarController.app> (loaded)' with name 'TXs-jd-44x-view-mDN-5j-iHs''

And here is the original code I am editing https://github.com/CosmicMind/Samples/tree/master/Material/Programmatic/PageTabBarController

Anas Salman
  • 372
  • 3
  • 16
  • This seems to be similar to http://stackoverflow.com/q/5337337/218152 – SwiftArchitect Nov 27 '16 at 01:57
  • thanks @SwiftArchitect, actually I want to understand how can I use PageTabBarController through storyboard, or how can I mix things between stroyboard and code – Anas Salman Nov 27 '16 at 09:49
  • You can find a very extensive answer with a sample project on this StackOverflow answer: http://stackoverflow.com/a/32390717/218152 – SwiftArchitect Nov 27 '16 at 17:28
  • @AnasSalman I am going to experiment a bit with making this happen. Currently setting the `rootViewController` is a challenge. If you don't hear from me within a couple days, please ping me, or feel free to make a github issue that links to this. – CosmicMind Nov 29 '16 at 02:04

0 Answers0