Latest 1.0.0
Homepage https://github.com/emadhegab/MHProgressButton
License MIT
Platforms ios 8.0
Authors

MHProgressButton

See the loading progress on your UIButton

alt tag

install

$ pod install MHProgressButton

or in your podfile

pod 'MHProgressButton'

Usage

add a UIButton to your view and subclass it with MHProgressButton.. set background color as needed and set the progress color
and then call linearLoadingWith(progress: CGFloat) method and pass your progress percentage to it… voila ..

TODO

add infinit and pulsy loading effects

contribute please

fork / edit / and Pull request to Develop Branch.

Latest podspec

{
    "name": "MPProgressButton",
    "version": "1.0.0",
    "summary": "See your progress on your UIButton ud83dude4f.",
    "homepage": "https://github.com/emadhegab/MHProgressButton",
    "license": {
        "type": "MIT",
        "file": "FILE_LICENSE"
    },
    "authors": {
        "Mohamed Emad Hegab": "[email protected]"
    },
    "social_media_url": "http://twitter.com/MohamedHegab",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/emadhegab/MHProgressButton.git",
        "tag": "1.0.0"
    },
    "source_files": [
        "Classes",
        "Sources/*.swift"
    ],
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This