Skip to content

ReactiveCocoa Singal and SignalProducer extensions for RAC4 alpha-4 for applying operators similar to |> from RAC3.

License

Notifications You must be signed in to change notification settings

nikita-leonov/ReactiveCocoaApply

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

ReactiveCocoa Singal and SignalProducer extensions for RAC4 alpha-4 for applying operators similar to |> from RAC3.

Resources

License

Stars

Watchers

Forks

Packages

No packages published