Description
Combinative is a library for UI event handling using Apple's combine framework. It doesn't need many dependencies because it is written mainly using built-in framework. By using this library, You can use great apple's combine-framework operators with UIKit.
Usage
UIControl
let button = UIButton()
button.publisher(event: .touchUpInside).sink {
}
Requirements
Xcode 11.0
Swift 5.2
iOS13+
Installation
Swift Package Manager
Combinative is available through Swift Package Manager. To install it, simply add the following line to your Package.swift:
let package = Package(
dependencies: [
.package(url: "https://github.com/noppefoxwolf/Combinative.git", version: "1.0.0"),
],
)
Author
Contributing
We would love you to contribute to Combinative, check the CONTRIBUTING file for more info.
License
Combinative is available under the MIT license. See the LICENSE file for more info.