Install RxAlamofire
mainYou can install RxAlamofire using CocoaPods, Carthage, Swift Package Manager, or by manual installation.
### CocoaPods
Just add to your project's `Podfile`:
pod 'RxAlamofire'
### Carthage
Add following to `Cartfile`:
gitub "RxSwiftCommunity/RxAlamofire" ~> 6.1
### Swift Package manager
Create a `Package.swift` file
```swift
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "TestRxAlamofire",
dependencies: [
.package(url: "https://github.com/RxSwiftCommunity/RxAlamofire.git",
from: "6.1.0"),
],
targets: [
.target(
name: "TestRxAlamofire",
dependencies: ["RxAlamofire"])
]
)Manually
To manual install this extension you should get the RxAlamofire/Source/RxAlamofire.swift imported into your project, alongside RxSwift and Alamofire.