Signals
Signals copied to clipboard
A micro-library for creating and observing events.
Update to iOS 9 minimum deployment target to silence warning.
tvOS makes more extensive use of the .primaryActionTriggered UIControl.Event - this exposes a onPrimaryActionTriggered signal for UIControls - currently on tvOS only. In theory this action can be used on...
I understand the `dispatchOnQueue` method allows a *subscriber* to specify the thread on which to run its callback code. However, I need to fire events from code which is running...
This adds an observable property inspired by [Property](https://github.com/ReactiveCocoa/ReactiveSwift/blob/master/Sources/Property.swift) from ReactiveSwift, and [BehaviorSubject](https://github.com/ReactiveX/RxSwift/blob/6b2a406b928cc7970874dcaed0ab18e7265e41ef/RxSwift/Subjects/BehaviorSubject.swift) from RxSwift. This implementation of the observable property has an advantage over analogs from RxSwift and ReactiveSwift because...
Resetting the `fireCount` was removed from `clearLastData` in e29f6ec. The inline documentation to reflect that has been updated. Resetting the `fireCount` is still useful.
I thought this was useful, but it does make the library larger. Thoughts?
This change is needed for Carthage to operate well, because if we don't specify them, then carthage will assume a minimum deployment target of 12.1 for tvOS which is not...
Would it make sense to pass the observer as a parameter in the callback closure? Something like: ``` public func subscribe(with observer: ObserverType, callback: @escaping (ObserverType, T) -> T) ->...