https://github.com/applogistdev/alinternetcontrol
https://github.com/applogistdev/alinternetcontrol
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/applogistdev/alinternetcontrol
- Owner: applogistdev
- License: mit
- Created: 2020-05-20T14:09:23.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-20T14:12:12.000Z (almost 6 years ago)
- Last Synced: 2025-02-03T20:50:12.252Z (about 1 year ago)
- Language: Swift
- Size: 37.1 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ALInternetControl
[](https://travis-ci.org/sonifex/ALInternetControl)
[](https://cocoapods.org/pods/ALInternetControl)
[](https://cocoapods.org/pods/ALInternetControl)
[](https://cocoapods.org/pods/ALInternetControl)
## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Usage
```swift
import ALInternetControl
var internetCont: ALInternetControl?
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
internetCont = ALInternetControl.init(errorVC: NoInternetViewController())
return true
}
```
## Installation
ALInternetControl is available through [CocoaPods](https://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
pod 'ALInternetControl'
```
## Author
sonifex, soner.guler@applogist.com
## License
ALInternetControl is available under the MIT license. See the LICENSE file for more info.