Guest User

Untitled

a guest
May 26th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. let mainBundle = Bundle(identifier:"com.marvel.nearby")
  2. print("MAIN_BUNDLE : (mainBundle)") // getting nil
  3. let storyboard = UIStoryboard(name: "Main", bundle: mainBundle)
  4. let viewController = storyboard.instantiateViewController(withIdentifier: "MResourcesVC")
  5. self.showViewControllerInContainerView(viewController)
  6.  
  7. Bundle(for: type(of: self))
Add Comment
Please, Sign In to add comment