{"id":20059016,"url":"https://github.com/kodekarim/idevicesinformation","last_synced_at":"2025-07-29T00:35:27.299Z","repository":{"id":179636732,"uuid":"48675868","full_name":"kodekarim/iDevicesInformation","owner":"kodekarim","description":"A Light Weight and Updated Code for Device Detection and many other functionality  written in swift 2.0","archived":false,"fork":false,"pushed_at":"2015-12-28T06:46:55.000Z","size":26,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-05T15:46:58.273Z","etag":null,"topics":["battery-percentage","device","device-detection","ios","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kodekarim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-12-28T05:38:22.000Z","updated_at":"2024-08-26T11:58:14.000Z","dependencies_parsed_at":"2023-08-19T11:58:27.179Z","dependency_job_id":"ca1669fe-21a8-4d11-9690-ba5125b30e0e","html_url":"https://github.com/kodekarim/iDevicesInformation","commit_stats":null,"previous_names":["dev-abdul02/idevicesinformation","kodekarim/idevicesinformation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kodekarim/iDevicesInformation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kodekarim%2FiDevicesInformation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kodekarim%2FiDevicesInformation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kodekarim%2FiDevicesInformation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kodekarim%2FiDevicesInformation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kodekarim","download_url":"https://codeload.github.com/kodekarim/iDevicesInformation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kodekarim%2FiDevicesInformation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267610477,"owners_count":24115438,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["battery-percentage","device","device-detection","ios","swift"],"created_at":"2024-11-13T13:05:30.609Z","updated_at":"2025-07-29T00:35:27.275Z","avatar_url":"https://github.com/kodekarim.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iDevicesInformation\n\nA Light Weight and Updated Code for Device Detection and many other functionality  written in swift 2.0\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/13949425/12014597/7836da1e-ad55-11e5-97ea-0dee94a825c7.png\" width=\"30%\"\u003e\u003c/img\u003e \n\n#How To Use\nJust import the source file to your project and you are ready to go..\n\n#Implementation\n#To Know the device type\n        let device = Device ()\n\n        deviceType.text = \"\\(device)\"\n        \n#To Know Device name\n         deviceName.text = UIDevice.currentDevice().name\n\n#To Know iOS Version \n         iOSVersion.text = UIDevice.currentDevice().systemVersion\n\n#To Check Battery Status\n         device.batteryState == .Charging(65)\nHere \"65\" is the battery percentage to track\nFor example if the device battery percentage is more then 90\nThen graphic quality = HIGH\n\nfor reference see the code....\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkodekarim%2Fidevicesinformation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkodekarim%2Fidevicesinformation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkodekarim%2Fidevicesinformation/lists"}