{"id":19467149,"url":"https://github.com/swordray/jxreviewcontroller","last_synced_at":"2025-04-25T11:30:53.232Z","repository":{"id":49115280,"uuid":"276841147","full_name":"swordray/JXReviewController","owner":"swordray","description":"Request rating by 1-5 stars.","archived":false,"fork":false,"pushed_at":"2022-11-22T15:25:36.000Z","size":38,"stargazers_count":16,"open_issues_count":2,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-12T22:04:57.172Z","etag":null,"topics":["ios","skstorereviewcontroller","storekit","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/swordray.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-07-03T07:51:41.000Z","updated_at":"2023-05-10T03:14:31.000Z","dependencies_parsed_at":"2022-09-24T02:43:16.579Z","dependency_job_id":null,"html_url":"https://github.com/swordray/JXReviewController","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordray%2FJXReviewController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordray%2FJXReviewController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordray%2FJXReviewController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordray%2FJXReviewController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swordray","download_url":"https://codeload.github.com/swordray/JXReviewController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223997654,"owners_count":17238587,"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","skstorereviewcontroller","storekit","swift"],"created_at":"2024-11-10T18:33:37.846Z","updated_at":"2024-11-10T18:33:38.294Z","avatar_url":"https://github.com/swordray.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JXReviewController\n\nRequest rating by 1-5 stars.\n\n[![CI Status](https://img.shields.io/travis/swordray/JXReviewController.svg?style=flat)](https://travis-ci.org/swordray/JXReviewController)\n[![Version](https://img.shields.io/cocoapods/v/JXReviewController.svg?style=flat)](https://cocoapods.org/pods/JXReviewController)\n[![License](https://img.shields.io/cocoapods/l/JXReviewController.svg?style=flat)](https://cocoapods.org/pods/JXReviewController)\n[![Platform](https://img.shields.io/cocoapods/p/JXReviewController.svg?style=flat)](https://cocoapods.org/pods/JXReviewController)\n\n## Requirements\n\n* iOS 13+\n\n## Installation\n\nJXReviewController is available through [CocoaPods](https://cocoapods.org). To install it, simply add the following line to your Podfile:\n\n```ruby\npod 'JXReviewController'\n```\n\n## Usage\n\n* Present a `JXReviewController` instance from your view controller.\n\n  ```swift\n  import JXReviewController\n\n  class ViewController: UIViewController {\n\n      func requestReview() {\n          let reviewController = JXReviewController()\n          reviewController.image = UIImage(systemName: \"app.fill\")\n          reviewController.title = \"Enjoy it?\"\n          reviewController.message = \"Tap a star to rate it.\"\n          reviewController.delegate = self\n          present(reviewController, animated: true)\n      }\n  }\n  ```\n\n* Receive feedbacks by implimenting `JXReviewControllerDelegate`.\n\n  ```swift\n  extension ViewController: JXReviewControllerDelegate {\n\n      func reviewController(_ reviewController: JXReviewController, didSelectWith point: Int) {\n          print(\"Did select with \\(point) point(s).\")\n      }\n\n      func reviewController(_ reviewController: JXReviewController, didCancelWith point: Int) {\n          print(\"Did cancel with \\(point) point(s).\")\n      }\n\n      func reviewController(_ reviewController: JXReviewController, didSubmitWith point: Int) {\n          print(\"Did submit with \\(point) point(s).\")\n      }\n  }\n  ```\n\n## Author\n\nJianqiu Xiao, swordray@gmail.com\n\n## Sponsors\n\n* [BaiLu ShuYuan](https://bailushuyuan.org)\n\n## License\n\nJXReviewController is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswordray%2Fjxreviewcontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswordray%2Fjxreviewcontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswordray%2Fjxreviewcontroller/lists"}