A simple Signal
[](https://travis-ci.org/Khoa Pham/Signal)
See the post Push vs Pull signal
To run the example project, clone the repo, and run pod install
from the Example directory first.
let s = Signal<String>()
s.subscribeNext { value in
print(value)
}
s.sendNext("Happy New Year")
Signal is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "Signal"
Credit goes to
- UIKonf 2015 - Jens Ravens: Functional Reactive Programming without Black Magic
- Swift Sync and Async Error Handling - iOS Conf SG 2015
Khoa Pham, onmyway133@gmail.com
Signal is available under the MIT license. See the LICENSE file for more info.