Upgrade version of RxSwift, RxCocoa, Alamofire.
This commit is contained in:
41
Pods/RxCocoa/README.md
generated
41
Pods/RxCocoa/README.md
generated
@ -3,6 +3,8 @@
|
||||
|
||||
[](https://travis-ci.org/ReactiveX/RxSwift)   [](https://github.com/Carthage/Carthage) [](https://github.com/apple/swift-package-manager)
|
||||
|
||||
* RxSwift 3.x / Swift 3.x can be found in [**rxswift-3.0** branch](https://github.com/ReactiveX/RxSwift/tree/rxswift-3.0).
|
||||
|
||||
Rx is a [generic abstraction of computation](https://youtu.be/looJcaeboBY) expressed through `Observable<Element>` interface.
|
||||
|
||||
This is a Swift version of [Rx](https://github.com/Reactive-Extensions/Rx.NET).
|
||||
@ -39,10 +41,10 @@ KVO observing, async operations and streams are all unified under [abstraction o
|
||||
|
||||
###### ... interact
|
||||
|
||||
* All of this is great, but it would be nice to talk with other people using RxSwift and exchange experiences. <br />[](http://rxswift-slack.herokuapp.com/) [Join Slack Channel](http://rxswift-slack.herokuapp.com)
|
||||
* All of this is great, but it would be nice to talk with other people using RxSwift and exchange experiences. <br />[](http://bit.ly/rxslack) [Join Slack Channel](http://bit.ly/rxslack)
|
||||
* Report a problem using the library. [Open an Issue With Bug Template](.github/ISSUE_TEMPLATE.md)
|
||||
* Request a new feature. [Open an Issue With Feature Request Template](Documentation/NewFeatureRequestTemplate.md)
|
||||
|
||||
* Help out [Check out contribution guide](CONTRIBUTING.md)
|
||||
|
||||
###### ... compare
|
||||
|
||||
@ -102,8 +104,9 @@ searchResults
|
||||
|
||||
## Requirements
|
||||
|
||||
* Xcode 8.0
|
||||
* Swift 3.0
|
||||
* Xcode 9.0
|
||||
* Swift 4.0
|
||||
* Swift 3.x ([use `rxswift-3.0` branch](https://github.com/ReactiveX/RxSwift/tree/rxswift-3.0) instead)
|
||||
* Swift 2.3 ([use `rxswift-2.0` branch](https://github.com/ReactiveX/RxSwift/tree/rxswift-2.0) instead)
|
||||
|
||||
## Installation
|
||||
@ -118,21 +121,21 @@ Open Rx.xcworkspace, choose `RxExample` and hit run. This method will build ever
|
||||
|
||||
### [CocoaPods](https://guides.cocoapods.org/using/using-cocoapods.html)
|
||||
|
||||
**Tested with `pod --version`: `1.1.1`**
|
||||
**Tested with `pod --version`: `1.3.1`**
|
||||
|
||||
```ruby
|
||||
# Podfile
|
||||
use_frameworks!
|
||||
|
||||
target 'YOUR_TARGET_NAME' do
|
||||
pod 'RxSwift', '~> 3.0'
|
||||
pod 'RxCocoa', '~> 3.0'
|
||||
pod 'RxSwift', '~> 4.0'
|
||||
pod 'RxCocoa', '~> 4.0'
|
||||
end
|
||||
|
||||
# RxTests and RxBlocking make the most sense in the context of unit/integration tests
|
||||
target 'YOUR_TESTING_TARGET' do
|
||||
pod 'RxBlocking', '~> 3.0'
|
||||
pod 'RxTest', '~> 3.0'
|
||||
pod 'RxBlocking', '~> 4.0'
|
||||
pod 'RxTest', '~> 4.0'
|
||||
end
|
||||
```
|
||||
|
||||
@ -144,12 +147,12 @@ $ pod install
|
||||
|
||||
### [Carthage](https://github.com/Carthage/Carthage)
|
||||
|
||||
**Tested with `carthage version`: `0.18.1`**
|
||||
**Tested with `carthage version`: `0.26.2`**
|
||||
|
||||
Add this to `Cartfile`
|
||||
|
||||
```
|
||||
github "ReactiveX/RxSwift" ~> 3.0
|
||||
github "ReactiveX/RxSwift" ~> 4.0
|
||||
```
|
||||
|
||||
```bash
|
||||
@ -158,19 +161,23 @@ $ carthage update
|
||||
|
||||
### [Swift Package Manager](https://github.com/apple/swift-package-manager)
|
||||
|
||||
**Tested with `swift build --version`: `3.0.0 (swiftpm-19)`**
|
||||
**Tested with `swift build --version`: `Swift 4.0.0-dev (swiftpm-13126)`**
|
||||
|
||||
Create a `Package.swift` file.
|
||||
|
||||
```swift
|
||||
// swift-tools-version:4.0
|
||||
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "RxTestProject",
|
||||
targets: [],
|
||||
dependencies: [
|
||||
.Package(url: "https://github.com/ReactiveX/RxSwift.git", majorVersion: 3)
|
||||
]
|
||||
name: "RxTestProject",
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/ReactiveX/RxSwift.git", "4.0.0" ..< "5.0.0")
|
||||
],
|
||||
targets: [
|
||||
.target(name: "RxTestProject", dependencies: ["RxSwift", "RxCocoa"])
|
||||
]
|
||||
)
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user