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

写这个开关的初衷是因为我没找到UISwitch将要改变状态的api,只有改变值之后的监听,觉得很不方便,所以就自己写了一个.

  • 可以自己手动控制是否改变状态
  • 可以自定义开关颜色,滑块颜色
  • 2个代理方法

Latest podspec

{
    "name": "ZXSwitch",
    "version": "0.0.1",
    "summary": "Switch control",
    "homepage": "https://github.com/kwezdj123/ZXSwitch",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "LoginPig": "[email protected]"
    },
    "source": {
        "git": "https://github.com/kwezdj123/ZXSwitch.git"
    },
    "frameworks": "UIKit",
    "source_files": "ZXSwitch/Classes/*.{swift}",
    "requires_arc": true,
    "platforms": {
        "ios": "8.0"
    }
}

Pin It on Pinterest

Share This