All Projects → wwmz → WMZCode

wwmz / WMZCode

Licence: MIT license
封装的图片验证,文字验证,滑动验证

Programming Languages

objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

WMZCode

pod 'WMZCode', '~> 1.0.0'

在使用cocoapods安装时,请先执行 pod search WMZCode,如果搜索不到,请执行pod setup命令。

效果图

Untitled.gif

四个枚举

/*
 * CodeType type
 */
typedef NS_ENUM(NSInteger, CodeType) {
    CodeTypeImage = 0,    // DefaultImage
    CodeTypeLabel,            // Label
    CodeTypeNineLabel,    // NineLabel
    CodeTypeSlider             // Slider
};

调用

WMZCodeView *codeView = [[WMZCodeView shareInstance] addCodeViewWithType:CodeTypeImage withImageName:@"A" witgFrame:CGRectMake(0, 50, 300, 50)  withBlock:^(BOOL success) {
        if (success) {
            NSLog(@"成功");
        } 
}];
[superView  addSubview: codeView] ;
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].