{"id":15527750,"url":"https://github.com/gentique/gblocationmanager-singleton","last_synced_at":"2025-10-27T17:08:14.917Z","repository":{"id":44884882,"uuid":"299054488","full_name":"gentique/GBLocationManager-Singleton","owner":"gentique","description":"Handy CLLocationManager singleton class.","archived":false,"fork":false,"pushed_at":"2022-07-17T18:48:05.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-03T07:31:33.096Z","etag":null,"topics":["cllocationmanager","corelocation","singleton-pattern","swift"],"latest_commit_sha":null,"homepage":"","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/gentique.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":"2020-09-27T14:53:02.000Z","updated_at":"2022-07-17T18:48:09.000Z","dependencies_parsed_at":"2022-08-29T20:31:33.036Z","dependency_job_id":null,"html_url":"https://github.com/gentique/GBLocationManager-Singleton","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentique%2FGBLocationManager-Singleton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentique%2FGBLocationManager-Singleton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentique%2FGBLocationManager-Singleton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentique%2FGBLocationManager-Singleton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gentique","download_url":"https://codeload.github.com/gentique/GBLocationManager-Singleton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246100578,"owners_count":20723479,"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":["cllocationmanager","corelocation","singleton-pattern","swift"],"created_at":"2024-10-02T11:08:52.133Z","updated_at":"2025-10-27T17:08:14.808Z","avatar_url":"https://github.com/gentique.png","language":"Swift","readme":"# GBLocationManager\n\nGBLocationManager is a handy singleton class for CLLLocationManager.\n\n## Installation\n\nCopy paste the .swift class into your project.\n\n## Usage\n```swift\nlet locationManager = GBLocationManager.shared\n```\n## Protocol\n```swift\nprotocol GBLocationManagerDelegate {\n    func didUpdateLocation(location: CLLocation)\n    func didFailWith(error: Error)\n    func authorizationStatusChanged(status: CLAuthorizationStatus)\n}\n```\n## Convenience methods\n```swift\nfunc locationServices(shouldUpdate: Bool)\nfunc requestLocationUpdate { (success, location) in }\nfunc checkAuthorization()\n\n```\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n[MIT](https://raw.githubusercontent.com/gentique/GBLocationManager-Singleton/master/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgentique%2Fgblocationmanager-singleton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgentique%2Fgblocationmanager-singleton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgentique%2Fgblocationmanager-singleton/lists"}