Skip to content

Flat design clickable buttons. All code written in latest Swift4 syntax.

Notifications You must be signed in to change notification settings

VamshiIITBHU14/FlatPressButton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

FlatPressButton

Flat design clickable buttons. All code written in latest Swift4 syntax. Concept taken from https://famolus.com with code written in Swift4. Easy to use. Just drag and drop HTPressableButton.Swift, UIColor+HTColor.Swift, UIImage+HTButton.Swift, you are done.

You can add buttons with different styles (Rounded edges, Rectanular edges, Circular button) with

   var frame = CGRect(x: 30, y: 150, width: 260, height: 50)
    let rectButton = HTPressableButton(frame: frame, buttonStyle: HTPressableButtonStyle.rect)
    rectButton.buttonColor = UIColor.ht_alizarinColor()
    rectButton.shadowColor = UIColor.ht_pumpkinColor()
    rectButton.setTitle("Rect", for: .normal)
    view.addSubview(rectButton)

About

Flat design clickable buttons. All code written in latest Swift4 syntax.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages