Advertisement
Guest User

Untitled

a guest
May 3rd, 2015
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. let shopVC = ShoppingCardVC(nibName:"ShoppingCardVC", bundle:nil)
  2. let bundle = NSBundle(forClass: self.dynamicType)
  3. let nib = UINib(nibName: "ShoppingCardVC", bundle: nil)
  4. let customView = nib.instantiateWithOwner(shopVC, options: nil).first! as UIView
  5. bottomView.addSubview(customView)
  6. shopVC.didMoveToParentViewController(self)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement