Isaaclzg / ISGVerificationCode

本地验证码

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ISGVerificationCode 本地生成验证码

Version License Platform

使用说明

/*! @brief  是否限制点击更换验证码 */
@property (nonatomic, assign) BOOL isBanTouch;

/*! @brief  验证码 */
@property (nonatomic, strong, readonly) NSString *verificationCode;

/*! @brief 配置 */
@property (nonatomic, strong) ISGVerificationConfig *config;

/*! @brief 是否随机颜色,默认NO 设置为yes的时候,config中的颜色设置将无效 */
@property (nonatomic, assign) BOOL isRandomColor;

/**
 *  更换验证码
 */
- (void)changeVerificationCode;

/**
 *  不区分大小写对比验证码
 *
 *  @param string 输入的验证码
 *
 *  @return 是否相同
 */
- (BOOL)compareResult:(NSString *)string;

安装(CocoaPods)

pod 'ISGVerificationCode'

作者

Mr.Liu, isaac_gang@163.com

许可证

ISGVerificationCode在MIT许可下可用。有关更多信息,请参见许可证文件.

About

本地验证码

License:MIT License


Languages

Language:Objective-C 91.2%Language:Ruby 8.8%