diff --git a/README.md b/README.md index bec4f702..0be2b759 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,11 @@ RxSwift: ReactiveX for Swift ====================================== -[![Travis CI](https://travis-ci.org/ReactiveX/RxSwift.svg?branch=master)](https://travis-ci.org/ReactiveX/RxSwift) +[![Travis CI](https://travis-ci.org/ReactiveX/RxSwift.svg?branch=master)](https://travis-ci.org/ReactiveX/RxSwift) ![platforms](https://img.shields.io/badge/platforms-iOS%20%7C%20OSX%20%7C%20tvOS%20%7C%20watchOS%20%7C%20Linux%28experimental%29-333333.svg) ![pod](https://img.shields.io/cocoapods/v/RxSwift.svg) + [![Slack channel](http://slack.rxswift.org/badge.svg)](http://slack.rxswift.org) Hang out with us on [rxswift.slack.com](http://slack.rxswift.org) Xcode 7 Swift 2.1 required -**This README.md describes RxSwift 2.0.0** - -**You can find RxSwift 1.9 for Swift 1.2 [here](https://github.com/ReactiveX/RxSwift/tree/rxswift-1.0).** - ### Change Log (from 1.9 version) * Removes deprecated APIs @@ -84,8 +81,6 @@ RxSwift └-Rx.xcworkspace - workspace that contains all of the projects hooked up ``` -Hang out with us on [rxswift.slack.com](http://slack.rxswift.org) - 1. [Why](#why) 1. [State](#state) 1. [Bindings](#bindings) @@ -325,7 +320,7 @@ extension UISearchBar { } public var rx_text: Observable { - return defer { [weak self] in + return Observable.deferred { [weak self] in let text = self?.text ?? "" return self?.rx_delegate.observe("searchBar:textDidChange:") ?? empty() @@ -482,7 +477,7 @@ $ pod install Add this to `Cartfile` ``` -github "ReactiveX/RxSwift" ~> 2.0 +github "ReactiveX/RxSwift" ~> 2.0 ``` ```