Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 578 Bytes

README.md

File metadata and controls

24 lines (14 loc) · 578 Bytes

CustomViewSample

Howt to create Custom UIView can be initialized from Nib file

Usage

Storyboard or xib

implement @IBDesignable and @IBInspectable

Code

let customView = MyCustomView(frame: CGRectMake(50, 200, 280, 200))
view.addSubview(customView)

More Info

All step to create Custom view is written in http://himaratsu.hatenablog.com/entry/ios/customview .