{"id":25646202,"url":"https://github.com/ioramashvili/radioaccesstechnologynotifier","last_synced_at":"2025-02-23T10:19:17.271Z","repository":{"id":62452509,"uuid":"102734293","full_name":"ioramashvili/RadioAccessTechnologyNotifier","owner":"ioramashvili","description":null,"archived":false,"fork":false,"pushed_at":"2017-09-07T17:28:29.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-16T16:48:16.158Z","etag":null,"topics":["ios","reachability","swift"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ioramashvili.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-07T12:28:02.000Z","updated_at":"2018-06-29T06:17:05.000Z","dependencies_parsed_at":"2022-11-01T23:45:45.737Z","dependency_job_id":null,"html_url":"https://github.com/ioramashvili/RadioAccessTechnologyNotifier","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioramashvili%2FRadioAccessTechnologyNotifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioramashvili%2FRadioAccessTechnologyNotifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioramashvili%2FRadioAccessTechnologyNotifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioramashvili%2FRadioAccessTechnologyNotifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ioramashvili","download_url":"https://codeload.github.com/ioramashvili/RadioAccessTechnologyNotifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240299115,"owners_count":19779402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ios","reachability","swift"],"created_at":"2025-02-23T10:19:15.969Z","updated_at":"2025-02-23T10:19:17.194Z","avatar_url":"https://github.com/ioramashvili.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eDetect if network is on Wifi, LTE, 3G or Edge\u003c/h1\u003e\n\n## Requirements\n\n- iOS 9.0+\n\n## Installation\n\n### CocoaPods\n\n[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:\n\n```bash\n$ gem install cocoapods\n```\n\nTo integrate TableViewReloadAnimation into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '9.0'\nuse_frameworks!\n\ntarget '\u003cYour Target Name\u003e' do\n    pod 'RadioAccessTechnologyNotifier'\nend\n```\n\nThen, run the following command:\n\n```bash\n$ pod install\n```\n\n## Usage\n\n```swift\nimport RadioAccessTechnologyNotifier\n\n```\nin viewDidAppear\n\n```swift\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // set delegate\n        RadioAccessTechnologyNotifier.shared.delegate = self\n        \n        // get notification\n        NotificationCenter.default.addObserver(\n            self,\n            selector: #selector(radioAccessTechnologyNotifierStateDidChange),\n            name: RadioAccessTechnologyNotifierStateDidChange,\n            object: nil)\n    }\n    \n    func radioAccessTechnologyNotifierStateDidChange() {\n        print(RadioAccessTechnologyNotifier.shared.currentState)\n    }\n}\n\nextension ViewController: RadioAccessTechnologyNotifierDelegate {\n    func didChange(to state: RadioAccessTechnologyNotifierState) {\n        print(state)\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fioramashvili%2Fradioaccesstechnologynotifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fioramashvili%2Fradioaccesstechnologynotifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fioramashvili%2Fradioaccesstechnologynotifier/lists"}