Skip to content

kindraywind/IconLabelView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IconLabelView

A UILabel embedded with small icon image.

Usage

You can use the IconLabelView two ways,

Interface Builder

Just add a UIView into your .storyboard then set the custom class to IconLabelView

Programmatically

let iconLabelView = IconLabelView(frame: CGRect(x: 20, y: 100, width: 300, height: 35))
iconLabelView.text = "justARandomString"
iconLabelView.textColor = UIColor.orangeColor()
iconLabelView.iconImage = UIImage(named: "randomImage")!

self.view.addSubview(iconLabelView)

About

A UILabel embedded with small icon image.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages