Skip to content

Latest commit

 

History

History

Signal

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Signal

A simple Signal

[![CI Status](http://img.shields.io/travis/Khoa Pham/Signal.svg?style=flat)](https://travis-ci.org/Khoa Pham/Signal) Version License Platform

Usage

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")

Installation

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

pod "Signal"

Credit

Credit goes to

Author

Khoa Pham, onmyway133@gmail.com

License

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