Latest 0.0.1
Homepage https://github.com/wang542413041/KingCerCode
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit, XCTest
Authors

License MIT

简介

验证码、密码验证输入框。

use

版本要求

| KingCerCode Version : 0.0.1 |

| IOS版本             : iOS8+ |

下载

在你的podfile中添加KingCerCode

pod 'KingCerCode'
pod 'KingCerCode' ~> '0.0.1'

使用

    CGFloat ls = 50.0;
    CGFloat lp = 20.0;
    KingIdentifyingView *view = [[KingIdentifyingView alloc] initWithFrame:CGRectMake(0, 60, self.view.frame.size.width, 100)       cerCode:cerCode setting:@{value_labelSize: @(ls), value_labelSpace: @(lp)} isSecure:YES];
    [view makeRebackBlock:^(BOOL value) {
        if (value) {
            NSLog(@"验证成功 -> 执行成功操作");
            showLabel1.text = @"验证正确";
        } else {
            NSLog(@"验证失败 -> 执行失败操作");
            showLabel1.text = @"验证失败,请重新输入";
        }
    }];
    [self.view addSubview:view];

鸣谢

  • Apple
  • 王家伟 : 542413041
  • 简历 : 王家伟

Thanks for their great work.
 

协议

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

Latest podspec

{
    "name": "KingCerCode",
    "version": "0.0.1",
    "summary": "u9a8cu8bc1u7801u9a8cu8bc1u3001u5bc6u7801u9a8cu8bc1",
    "description": "u9a8cu8bc1u7801u9a8cu8bc1u3001u5bc6u7801u9a8cu8bc1u3001u9ad8u5ea6u81eau5b9au4e49u3001u62ffu6765u5373u7528u4e3bu4e49",
    "homepage": "https://github.com/wang542413041/KingCerCode",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "wang542413041": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/wang542413041/KingCerCode.git",
        "tag": "0.0.1"
    },
    "source_files": [
        "KingCerCode",
        "KingCerCode/**/*.{h,m}"
    ],
    "frameworks": [
        "UIKit",
        "XCTest"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This