/MHVerifyCodeView

A verification code UI library. 一个简单的验证码UI第三方库。

Primary LanguageSwiftMIT LicenseMIT

MHVerifyCodeView

CI Status Version License Platform

Example

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

VerifyCodeView

Requirements

  • iOS >= 9.0
  • swift5

Installation

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

pod 'MHVerifyCodeView'

Usage

let verifyCodeView = MHVerifyCodeView.init()
verifyCodeView.spacing = 10
verifyCodeView.verifyCount = 4
verifyCodeView.setCompleteHandler { (result) in
      print(result)
}

Author

feaskters, 739296759@qq.com

License

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