Latest 0.0.1
License MIT
Platforms ios , requires ARC

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 (



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": "",
    "license": {
        "type": "MIT"
    "authors": {
        "Shan Ul Haq": "[email protected]"
    "platforms": {
        "ios": null
    "source": {
        "git": "",
        "tag": "0.0.1"
    "requires_arc": true,
    "source_files": "SHFlatButton/SHFlatButton/*.{h,m}",
    "exclude_files": "Classes/Exclude"

Pin It on Pinterest

Share This