I think many developer have tried this, how to make MainStoryBoard to load many UIViewController with xib or use NIB method, there is the explaination :
- I have one
MainStoryBoardand connected with class ViewController that useUIViewController - I have
LoginViewController,HomeViewControlleralso each .xib file - The problem is i want separate each logical code at each controller but i addSubview to
MainStoryBoardexp:LoginViewController.xibthe logical atLoginViewController.swiftfrom there i want got toHomeViewControllerwhen loged in ...can anyone solve that's problem ?