pod 'RSSwiftNetworking', '~> 1.1.7'
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
Add the following line to your Cartfile
and follow the installation instructions.
github "rootstrap/RSSwiftNetworking" ~> 1.1.7
That should be it. RSSwiftNetworking should appear in the navigation panel as a dependency and the framework will be linked automatically to your target.
Note: It is always recommended to lock your external libraries to a specific version.
RSSwiftNetworking provides you with an extensible API to implement your own networking layer.
It also gives you an out of the box solution with Alamofire as the NetworkProvider
.
You can simply create your APIClient concrete instace with this provider.
static let apiClient = BaseAPIClient(
networkProvider: AlamofireNetworkProvider(),
headersProvider: SomeHeaderProvider()
)
To run the example project, clone the repo, and run pod install
from the Example directory first.
RSSwiftNetworking is available under the MIT license. See the LICENSE file for more info.
link |
Stars: 1 |
Last commit: 45 weeks ago |
Full Changelog: https://github.com/rootstrap/RSSwiftNetworking/compare/1.1.6...1.1.7
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics