Skip to content

carabina/MMLoadingButton

 
 

Repository files navigation

MMLoadingButton

CI Status Version License Platform

Example

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

Requirements

Desc: This is a custom Button With loading progress animation with status scuess and error

    1.Scuess can set Transition
    2.Error can set reminder message

1.Demo With (Error,Scuess,Transition)

LoadingButton

2.Setting

LoadingButton

3.Error Color

LoadingButton

2.Scuess With Tick Animation

loadingButton.stopLoading(true, completed: {
    print("Scuess Completed")
})

LoadingButton

3.Error With Crossed Animation

loadingButton.stopLoading(false, completed: {
    print("Error Completed")
})

LoadingButton

4.Error With Crossed and Animation

loadingButton.stopWithError("Error !!", hideInternal: 2, completed: {
    print ("Fail Message Completed")
})

LoadingButton

5.Add Transition With function

self.loadingBtn.addScuessPresentVC(vc)

LoadingButton

Installation

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

pod "MMLoadingButton"

Author

Millman, millmanyang@gmail.com

License

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

About

Custom Loading Button With Animation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 71.2%
  • Shell 22.5%
  • Ruby 4.6%
  • Objective-C 1.7%