Skip to content

Commit 9b63002

Browse files
Update README.md
1 parent d69f876 commit 9b63002

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
[![codecov](https://codecov.io/gh/dbsystel/DBNetworkStack/branch/develop/graph/badge.svg)](https://codecov.io/gh/dbsystel/DBNetworkStack)
66
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
77
[![Swift Package Manager compatible](https://img.shields.io/badge/Swift%20Package%20Manager-compatible-brightgreen.svg)](https://github.com/apple/swift-package-manager)
8-
[![Version](https://img.shields.io/cocoapods/v/DBNetworkStack.svg?style=flat)](http://cocoapods.org/pods/DBNetworkStack)
98

109
| | Main Features |
1110
| --------- | ------------------------------ |
@@ -95,6 +94,7 @@ The following table shows all the protocols and their default implementations.
9594
| -------------------------------- | ---------------------- |
9695
| ```RetryNetworkService``` | Retrys requests after a given delay when an error meets given criteria. |
9796
| ```ModifyRequestNetworkService``` | Modify matching requests. Can be used to add auth tokens or API Keys |
97+
| ```NetworkServiceMock``` | Mocks a NetworkService. Can be use during unit tests |
9898

9999
## Requirements
100100

@@ -104,6 +104,16 @@ The following table shows all the protocols and their default implementations.
104104

105105
## Installation
106106

107+
### Swift Package Manager
108+
109+
[SPM](https://swift.org/package-manager/) is integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.
110+
111+
Specify the following in your `Package.swift`:
112+
113+
```swift
114+
.package(url: "https://github.com/dbsystel/DBNetworkStack", from: "2.0.0"),
115+
```
116+
107117
### Carthage
108118

109119
[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

0 commit comments

Comments
 (0)