Latest 0.0.1
Homepage https://github.com/grevolution/SHFlatButton
License MIT
Platforms ios , requires ARC
Authors

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

Latest podspec

{
    "name": "SHFlatButton",
    "version": "0.0.1",
    "summary": "`SHFlatButton` a reusable UIButton subclass to create flat buttons",
    "description": "                   `SHFlatButton` a reusable UIButton subclass to create 3d styled flat buttons with shadown",
    "homepage": "https://github.com/grevolution/SHFlatButton",
    "license": {
        "type": "MIT"
    },
    "authors": {
        "Shan Ul Haq": "[email protected]"
    },
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/grevolution/SHFlatButton.git",
        "tag": "0.0.1"
    },
    "requires_arc": true,
    "source_files": "SHFlatButton/SHFlatButton/*.{h,m}",
    "exclude_files": "Classes/Exclude"
}

Pin It on Pinterest

Share This