Latest 1.0.1
Homepage https://github.com/DK-Coder/DKGesturePassword-Swift
License MIT
Platforms ios 8.0
Authors

Swift版本的手势密码

pod支持

pod ‘DKGesturePassword-Swift’, ‘~> 1.0.1’

使用方法

将“DKGesturePassword-Swift”文件夹中的DKGesturePassword.swift和Resources.bundle拷贝到项目中即可使用

待完善功能

1、使用协议进行回调

参数说明

// 按钮宽度,默认64
var buttonWidth: CGFloat = DEFAULT_BUTTON_WIDTH

// 线条宽度,默认10
var lineWidth: CGFloat = DEFAULT_LINE_WIDTH

// 线条颜色,默认颜色cyanColor
var lineColor: UIColor = UIColor.cyanColor()

Latest podspec

{
    "name": "DKGesturePassword-Swift",
    "version": "1.0.1",
    "summary": "Swiftu7248u7684u624bu52bfu5bc6u7801u3002u652fu6301swift 3.0",
    "homepage": "https://github.com/DK-Coder/DKGesturePassword-Swift",
    "license": "MIT",
    "authors": {
        "DK-Coder": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/DK-Coder/DKGesturePassword-Swift.git",
        "tag": "1.0.1"
    },
    "source_files": "DKGesturePassword-Swift/DKGesturePassword-Swift/*",
    "resources": "DKGesturePassword-Swift/DKGesturePassword-Swift/Resources/*.png",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This