Howt to create Custom UIView can be initialized from Nib file
implement @IBDesignable and @IBInspectable
letcustomView=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 .

