π AlamofireLogbook alternatives and similar libraries
Based on the "Networking" category.
Alternatively, view π AlamofireLogbook alternatives based on common mentions on social networks and blogs.
-
RealReachability
We need to observe the REAL reachability of network. That's what RealReachability do. -
Networking
DISCONTINUED. Easy HTTP Networking in Swift a NSURLSession wrapper with image caching support -
XMNetworking
A lightweight but powerful network library with simplified and expressive syntax based on AFNetworking. -
Digger
Digger is a lightweight download framework that requires only one line of code to complete the file download task -
SOAPEngine
This generic SOAP client allows you to access web services using a your iOS app, Mac OS X app and AppleTV app. -
TWRDownloadManager
A modern download manager based on NSURLSession to deal with asynchronous downloading, management and persistence of multiple files. -
ws βοΈ
β οΈ Deprecated - (in favour of Networking) :cloud: Elegantly connect to a JSON api. (Alamofire + Promises + JSON Parsing) -
MultiPeer
π±π² A wrapper for the MultipeerConnectivity framework for automatic offline data transmission between devices -
AFNetworking+RetryPolicy
Nice category that adds the ability to set the retry interval, retry count and progressiveness.
InfluxDB - Power Real-Time Data Analytics at Scale
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of π AlamofireLogbook or a related project?
README
π AlamofireLogbook
An Alamofire network activity logger view
Installation
AlamofireLogbook is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'AlamofireLogbook'
Usage
To start logging, import the libraray in your network layer and use the method log()
on your Alamofire DataRequest
instance like the following example:
import Alamofire
import AlamofireLogbook
Alamofire
.request("https://httpbin.org/get")
.log()
.responseJSON { response in
// Your code
}
If you want to log each request yourself
- Conform to
AlamofireResponseListener
- implement
swift recievedResponseFor(item : LogItem)
- assign your delegate class in the app delegate to
AlamofireLogbook.shared.delegate
OR to show the Network activity logs view just call
AlamofireLogbook.show()
and you'll get A full searchable log
π‘Tip
Use the action button on the top right of the request details page to copy a readable formatted string of both the request and response. π
Example
To try the example project:
run pod try AlamofireLogbook
in your ternimal
or
clone the repo, and run pod install
from the Example directory first.
Requirements
- iOS 9.0+
- Xcode 9+
- Swift 3.2+
- AlamofireLogbook is a plugin for Alamofire framework
Contributions
If you have some ideas on how to improve the framework, Fork it, implement your changes and create that pull request already π.
All contributions are welcome π€.
Author
Built with π by mikeAttia
License
AlamofireLogbook is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the π AlamofireLogbook README section above
are relevant to that project's source code only.