MMLoadingButton 1.0.4

MMLoadingButton 1.0.4

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Oct 2016
SPMSupports SPM

Maintained by MM.



  • By
  • Millman

MMLoadingButton

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
    3.Error message will autoLayout when show

1.Demo With (Error,Scuess,Transition)

LoadingButton

2.Setting

LoadingButton

3.Setting (Error Color , Top Margin ,Font)

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 ,message and Animation

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

LoadingButton

5.Add Transition With function

    loadingBtn.addScuessPresentVC(vc)

LoadingButton

If you presentViewController with default transition,you can add custom transition use

    loadingBtn.addScuessWithDismissVC()

LoadingButton

6.Auto Push the bottom View when show Error Message

LoadingButton

Installation

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

Swift3
pod "MMLoadingButton"
Swift 2.3
pod ‘MMCardView’,:git => 'https://github.com/MillmanY/MMLoadingButton', :branch => ‘Swift2

Author

Millman, [email protected]

License

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