UIKit 扩展 Scream.swift
- 授权协议: MIT
- 开发语言: Swift
- 操作系统: iOS
- 软件首页: https://github.com/tangplin/Scream.swift
- 官方下载: https://github.com/tangplin/Scream.swift
软件介绍
Scream.swift 是 UIKit 的扩展,使用 Swift 闭包。
Scream.swift 是 UIKit 的封装器,能帮助你使用闭包替换 target 和 selector。
self.button = (UIButton.buttonWithType(.Custom) as UIButton).now{ btn in
//Custom button
...
}.clicked { btn in
//Do something
}.when(label:"repeat") {
//Do something
}
