Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.05 KB

File metadata and controls

35 lines (25 loc) · 1.05 KB

ReactiveCocoaApply

Version License Platform

Functions for applying operators to signals and singal producers. Code is based on original implementation of |> from RAC3.

Usage

func myOperator(producer: SignalProducer<Void, Error>) -> SignalProducer<Void, Error> {
  return producer.on(started: { 
    print("started")
  })
}

SignalProducer<Void, NoError>
  .never
  .apply(myOperator)
  .start()

Installation

ReactiveCocoaApply is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "ReactiveCocoaApply"

License

ReactiveCocoaApply is available under the MIT license. See the LICENSE file for more info.