loa

LoadingButton

UIButton subclass with an activity indicator and loading text

Showing:

Popularity

Downloads/wk

0

GitHub Stars

45

Maintenance

Last Commit

4yrs ago

Contributors

3

Package

Dependencies

0

License

MIT

Categories

Readme

LoadingButton

[![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

Preview

Example

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

Installation

  1. Just add LoadingButton.swift file to your project (LoadingButton/Classes/LoadingButton.swift).

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

pod "LoadingButton" 

Options

  • Start and stop loading button

    loginButton.loading = true
    loginButton.loading = false
    
  • Set position of ActivityIndicator

    loginButton.indicatorAlignment = .Right
    signupButton.indicatorAlignment = .Left
    
  • Text for title label when activity indicator is animating / loading

    loginButton.loadingText = "Authenticating"
    
  • The color of the activity indicator

    loginButton.indicatorColor = UIColor.redColor()
    

Author

Septiyan Andika Isanta, septiyan.andika@gmail.com

License

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100