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.
let button = UIButton()
button.publisher(event: .touchUpInside).sink {
}
Xcode 11.0
Swift 5.2
iOS13+
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"),
],
)
We would love you to contribute to Combinative, check the CONTRIBUTING file for more info.
Combinative is available under the MIT license. See the LICENSE file for more info.