{"id":15700641,"url":"https://github.com/mainasuk/fpsindicator","last_synced_at":"2026-02-23T12:49:57.455Z","repository":{"id":89171837,"uuid":"379448081","full_name":"MainasuK/FPSIndicator","owner":"MainasuK","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-14T09:46:59.000Z","size":88,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T22:36:12.875Z","etag":null,"topics":[],"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/MainasuK.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-23T01:45:04.000Z","updated_at":"2025-06-26T11:16:27.000Z","dependencies_parsed_at":"2024-08-02T19:30:15.594Z","dependency_job_id":null,"html_url":"https://github.com/MainasuK/FPSIndicator","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/MainasuK/FPSIndicator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MainasuK%2FFPSIndicator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MainasuK%2FFPSIndicator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MainasuK%2FFPSIndicator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MainasuK%2FFPSIndicator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MainasuK","download_url":"https://codeload.github.com/MainasuK/FPSIndicator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MainasuK%2FFPSIndicator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29743297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-03T19:51:38.807Z","updated_at":"2026-02-23T12:49:57.424Z","avatar_url":"https://github.com/MainasuK.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FPSIndicator\n\n\n[![Swift Version][swift-image]][swift-url]\n[![License][license-image]][license-url]\n[![Platform](https://img.shields.io/cocoapods/p/LFAlertController.svg?style=flat)](http://cocoapods.org/pods/LFAlertController)\n\n\u003cimg src=\"./Press/screenshot.png\" alt=\"demo\"\u003e\n\n## Features\n- [x] Display FPS (up to 120Hz)\n- [x] Drag to move\n- [x] Customize appearance\n- [x] Optional [“geiger counter”](https://github.com/kconner/KMCGeigerCounter) functionality that reports dropped frames as an audible click \n- [x] Support Swift package manager \n\n## Requirements\n\n- iOS 14.0+\n\n\n## Note\nPlease check [Optimizing ProMotion Refresh Rates for iPhone 13 Pro and iPad Pro](https://developer.apple.com/documentation/quartzcore/optimizing_promotion_refresh_rates_for_iphone_13_pro_and_ipad_pro) to adapt high refresh rate.\n\n## Usage example\n\n```swift\nimport UIKit\n\n#if DEBUG\nimport FPSIndicator\n#endif\n\nclass SceneDelegate: UIResponder, UIWindowSceneDelegate {\n\n    var window: UIWindow?\n\n    #if DEBUG\n    var fpsIndicator: FPSIndicator?\n    #endif\n\n    func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {\n        guard let windowScene = (scene as? UIWindowScene) else { return }\n        window = UIWindow(windowScene: windowScene)\n\n        window?.rootViewController = UINavigationController(rootViewController: ViewController())\n        window?.makeKeyAndVisible()\n\n        #if DEBUG\n        fpsIndicator = FPSIndicator(windowScene: windowScene)\n        FPSIndicator.geigerCounterEnabled = true            // optional\n        FPSIndicator.geigerEnableWhenFrameDropBeyond = 20   // tick when frame drop more then 20FPS (a.k.a under 40FPS in 60FPS device)\n        #endif\n        \n        // Note:\n        // The FPSIndicator will create a overlay transparent window\n        // which may break your status bar apperance by accident.\n    }\n}\n```\n\n## Acknowledgements\n\n- [YYText](https://github.com/ibireme/YYText/blob/master/Demo/YYTextDemo/YYFPSLabel.m)\n- [KMCGeigerCounter](https://github.com/kconner/KMCGeigerCounter)\n\n## Meta\n\nCirno MainasuK – [@MainasuK](https://twitter.com/mainasuk) – cirno.mainasuk@gmail.com\n\nDistributed under the MIT license. See [LICENSE](./LICENSE) for more information.\n\n[swift-image]:https://img.shields.io/badge/swift-5.3-orange.svg\n[swift-url]: https://swift.org/\n[license-image]: https://img.shields.io/badge/License-MIT-blue.svg\n[license-url]: LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmainasuk%2Ffpsindicator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmainasuk%2Ffpsindicator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmainasuk%2Ffpsindicator/lists"}