You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
Action
4
4
======
5
5
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.
7
7
8
8
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.
9
9
@@ -48,7 +48,7 @@ Now `execute()` only does the work if the email address is valid. Super cool!
48
48
49
49
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.
50
50
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>`.
52
52
53
53
```swift
54
54
button.rx_action= action
@@ -65,14 +65,13 @@ let action = UIAlertAction.Action("Hi", style: .Default)
65
65
Installing
66
66
----------
67
67
68
-
This works with RxSwift version 2, which is still prerelease, so you've gotta be fancy with your podfile.
0 commit comments