Latest 1.1.6
Homepage https://github.com/Share-Parking/ShareParking-Swich
License MIT
Platforms ios 9.0
Authors

typora-copy-images-to: ./image

ShareParkingSwich

共享车位的自定义 UISwich

2017-12-21 09_53_07

2017-12-21 09_54_10

2017-12-21 09_54_51

2017-12-21 09_55_19
(演示的 Gif 样式可能很大,加载会有点慢!)

描述

ShareParkingSwich 是为共享车位做的UISwich 切换控件。

默认的样式如下。

161F2072-6338-4753-937B-F1A318BC722A

集成

  1. 使用 Cocoapods

    pod 'ShareParking-Swich'
  2. 使用 Carthage

    github "Share-Parking/ShareParking-Swich"
  3. 使用 Framework

    下载最新的 Release,拖拽 ShareParking-Swich.framework到工程即可。

怎么使用

let swich = SPSwich(frame: CGRect(x: 0, y: 0, width: 200, height: 100))
view.addSubview(swich)

特性

  • [x] 支持 Playground 预览
  • [x] 支持 Cocoapods
  • [x] 支持 Carthage
  • [x] 支持 Swift4.0
  • [x] 支持 OC
  • [x] 支持 XIB

备注

Latest podspec

{
    "name": "ShareParking-Swich",
    "version": "1.1.6",
    "summary": "u5171u4eabu8f66u4f4du81eau5b9au4e49 Swich",
    "homepage": "https://github.com/Share-Parking/ShareParking-Swich",
    "license": "MIT",
    "authors": {
        "josercc": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/Share-Parking/ShareParking-Swich.git",
        "tag": "1.1.6"
    },
    "source_files": "Source/*",
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This