Howt to create Custom UIView can be initialized from Nib file
implement @IBDesignable and @IBInspectable
let customView = MyCustomView(frame: CGRectMake(50, 200, 280, 200))
view.addSubview(customView)
All step to create Custom view is written in http://himaratsu.hatenablog.com/entry/ios/customview .