Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let shopVC = ShoppingCardVC(nibName:"ShoppingCardVC", bundle:nil)
- let bundle = NSBundle(forClass: self.dynamicType)
- let nib = UINib(nibName: "ShoppingCardVC", bundle: nil)
- let customView = nib.instantiateWithOwner(shopVC, options: nil).first! as UIView
- bottomView.addSubview(customView)
- shopVC.didMoveToParentViewController(self)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement