Skip to content

grevolution/SHFlatButton

Repository files navigation

SHFlatButton

SHFlatButton is a UIButton subclass to that gives a nice flat look to the button with a 3d-styled shadow.

Build Status

main image

##How to Use It

Use it as you use a normal UIButton (either from code or from Interface Builder). following are the extra properties that you can set.

buttonColor to set the main color of the button.

shadowColor to set the shadow color of the button.

highlightedColorto set the highlighted color of the button (if it is differnt from the main color)

disabledColor to set the disabled color of the button

shadowHeight to set the height of the shadow

###Contact Me

Shan Ul Haq (http://grevolution.me)

###LICENSE

see LICENSE

About

A UIButton subclass to for Flat Buttons

Resources

License

Stars

Watchers

Forks

Packages

No packages published