EFInternetIndicator alternatives and similar libraries
Based on the "Networking" category.
Alternatively, view EFInternetIndicator 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.
WorkOS - The modern identity platform for B2B SaaS
* 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 EFInternetIndicator or a related project?
README
EFInternetIndicator
Requirements
- Xcode 8.0+
- iOS 8.3+
WARNING : It's not work on simulator. #1
Installation
CocoaPods
You can use CocoaPods to install EFInternetIndicator
by adding it to your Podfile
:
use_frameworks!
pod 'EFInternetIndicator'
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Usage example
To start monitoring internet status in a single UIViewController you just need add the InternetStatusIndicable
protocol and start monitoring with startMonitoringInternet()
import UIKit
import EFInternetIndicator
class ViewController: UIViewController, InternetStatusIndicable {
var internetConnectionIndicator:InternetViewIndicator?
override func viewDidLoad() {
super.viewDidLoad()
self.startMonitoringInternet()
}
}
Also, you can customize indicator using custom parameters:
func startMonitoringInternet(backgroundColor:UIColor, style: MessageView.Layout, textColor:UIColor, message:String, remoteHostName: String)
If you want all yours UIViewControllers monitoring internet you can create a abstract class like:
import UIKit
import EFInternetIndicator
class EFViewController: UIViewController, InternetStatusIndicable {
var internetConnectionIndicator:InternetViewIndicator?
override func viewDidLoad() {
super.viewDidLoad()
self.startMonitoringInternet()
}
}
class SecondViewController: EFViewController {
override func viewDidLoad() {
super.viewDidLoad()
}
}
// Override properties when you want
class MagicViewController: EFViewController {
override func viewDidLoad() {
super.viewDidLoad()
ย ย ย ย self.startMonitoringInternet(backgroundColor:UIColor.blue, style: .StatusLine, textColor:UIColor.white, message:"No magic on internet here :(", remoteHostName: "magic.com")
}
}
Author
ezefranca, [email protected]
Acknowledgments
- @SwiftKickMobile for SwiftMessages;
- @ashleymills for Reachability.swift;
License
EFInternetIndicator is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the EFInternetIndicator README section above
are relevant to that project's source code only.