Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func addContentView() {
- let nib = UINib(nibName: style.contentView, bundle: nil)
- let view = nib.instantiate(withOwner: nil, options: nil)[0] as! UIView
- contentView.addSubview(view)
- view.bindFrameToSuperviewBounds()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement