Skip to content

Commit d734b32

Browse files
committed
Merge pull request #25 from sunshinejr/readme_update
Update installation, since Rx 2.0 is not in beta anymore.
2 parents c9a73f9 + 0051720 commit d734b32

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Readme.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Action
44
======
55

6-
This library is used with [RxSwift](https://github.com/ReactiveX/RxSwift) to provide an abstraction on top of observables: actions.
6+
This library is used with [RxSwift](https://github.com/ReactiveX/RxSwift) to provide an abstraction on top of observables: actions.
77

88
An action is a way to say "hey, later I'll need you to subscribe to this thing." It's actually a lot more involved than that.
99

@@ -48,7 +48,7 @@ Now `execute()` only does the work if the email address is valid. Super cool!
4848

4949
Note that `enabledIf` isn't the same as the `enabled` property. You pass in `enabledIf` and the action uses that, and its current executing state, to determine if it's currently enabled.
5050

51-
What's _really_ cool is the `UIButton` extension. It accepts a `CocoaAction`, which is just `Action<Void, Void>`.
51+
What's _really_ cool is the `UIButton` extension. It accepts a `CocoaAction`, which is just `Action<Void, Void>`.
5252

5353
```swift
5454
button.rx_action = action
@@ -65,14 +65,13 @@ let action = UIAlertAction.Action("Hi", style: .Default)
6565
Installing
6666
----------
6767

68-
This works with RxSwift version 2, which is still prerelease, so you've gotta be fancy with your podfile.
68+
Just add the line below to your Podfile:
6969

7070
```ruby
71-
pod 'RxSwift', '~> 2.0'
7271
pod 'Action'
7372
```
7473

75-
And that'll be 👌
74+
Then run `pod install` and that'll be 👌
7675

7776
Thanks
7877
------

0 commit comments

Comments
 (0)