Skip to content

himaratsu/CustomViewSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 .

About

how to create custom UIView from nib and @IBDesignable confirmed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages