Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
wddwycc committed Jan 2, 2021
1 parent fa9a953 commit 5f68572
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ Because RxTheme uses `Binder<T>` from RxCocoa, any `Binder` defined in RxCocoa c

This also makes the lib super easy to extend in your codebase, here is an example

> Since RxSwift 6, most variable based rx extensions should already been derived by @dynamicMemberLookup.
```swift
extension Reactive where Base: UIView {
var borderColor: Binder<UIColor?> {
Expand All @@ -99,6 +97,8 @@ extension Reactive where Base: UIView {
}
```

> NOTICE: Since RxSwift 6, most variable based rx extensions should already been derived by @dynamicMemberLookup.
if you also want to use the sugar `view.theme.borderColor`, you have to write another extension:

```swift
Expand Down

0 comments on commit 5f68572

Please sign in to comment.