Latest 0.1.1
Homepage https://github.com/SeptiyanAndika/LoadingButton
License MIT
Platforms ios 8.0
Authors

[![CI Status](http://img.shields.io/travis/Septiyan Andika Isanta/LoadingButton.svg?style=flat)](https://travis-ci.org/Septiyan Andika Isanta/LoadingButton)
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Preview

Loading Buuton Preview

Installation

LoadingButton is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "LoadingButton" 

Properties

var loading:Bool 

example :
loginButton.loading = true
loginButton.loading = false
  • start and stop loading button
var indicatorAlignment:ActivityIndicatorAlignment

example :
loginButton.indicatorAlignment = .Right
signupButton.indicatorAlignment = .Left
  • Set position ActivityIndicator in left or right title
var loadingText:String

example :
loginButton.loadingText = "Authenticating "
  • Text for title label when activity indicator is animating / loading
var indicatorColor:UIColor

example :
loginButton.indicatorColor = UIColor.redColor()
  • The color of the activity indicator

Author

Septiyan Andika Isanta, [email protected]

License

LoadingButton is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "LoadingButton",
    "version": "0.1.1",
    "summary": "UIButton subclass with an activity indicator and loading text.",
    "description": "UIButton subclass with an activity indicator and loading text in swift.",
    "homepage": "https://github.com/SeptiyanAndika/LoadingButton",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Septiyan Andika Isanta": "[email protected]"
    },
    "source": {
        "git": "https://github.com/SeptiyanAndika/LoadingButton.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "LoadingButton/Classes/**/*"
}

Pin It on Pinterest

Share This