Skip to content

Commit

Permalink
Updated CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfurrow committed Nov 14, 2015
1 parent 70e6dca commit e661c02
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ cache: cocoapods
xcode_workspace: Demo/Demo.xcworkspace
xcode_scheme: Demo

before_install:
- KEY_CHAIN=ios-build.keychain
- security create-keychain -p travis $KEY_CHAIN
- security default-keychain -s $KEY_CHAIN
- security unlock-keychain -p travis $KEY_CHAIN
- security set-keychain-settings -t 3600 -u $KEY_CHAIN
30 changes: 29 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,33 @@
NSObject+Rx
===========

What an exciting library that I've been meaning to totally write a readme for! See #1.
If you're using [RxSwift](https://github.com/ReactiveX/RxSwift), you've probably encountered the following code more than a few times.

```swift
class MyObject: Whatever {
let disposeBag = DisposeBag()

...
}
```

You're actually not the only one to have written this line many, many times.

![Search screenshot showing many, many results.](assets/screenshot.png)

Instead of adding a new property to every object using RxSwift, use this library to add it for you, to any subclass of `NSObject`.

```swift
thing
.bindTo(otherThing)
.addDisposableTo(rx_disposeBag())
```

Sweet.

License
-------

MIT obvs.

![Tim Cook dancing to the sound of a permissive license.](http://i.imgur.com/mONiWzj.gif)

0 comments on commit e661c02

Please sign in to comment.