{"id":2730,"url":"https://github.com/nurdabolatov/RPInteraction","last_synced_at":"2025-08-03T00:32:34.856Z","repository":{"id":62452136,"uuid":"143141501","full_name":"nurdabolatov/RPInteraction","owner":"nurdabolatov","description":"Review page interaction - handy and pretty way to ask for review.","archived":false,"fork":false,"pushed_at":"2018-08-02T10:09:19.000Z","size":3449,"stargazers_count":28,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-22T02:20:43.333Z","etag":null,"topics":["animations","cocoapod","ios","objective-c","rate","review","review-page","smile","swift"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/nurdabolatov.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":"2018-08-01T10:32:38.000Z","updated_at":"2023-10-08T22:42:57.000Z","dependencies_parsed_at":"2022-11-01T23:46:14.651Z","dependency_job_id":null,"html_url":"https://github.com/nurdabolatov/RPInteraction","commit_stats":null,"previous_names":["nbolatov/rpinteraction"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurdabolatov%2FRPInteraction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurdabolatov%2FRPInteraction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurdabolatov%2FRPInteraction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurdabolatov%2FRPInteraction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nurdabolatov","download_url":"https://codeload.github.com/nurdabolatov/RPInteraction/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228510787,"owners_count":17931765,"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":["animations","cocoapod","ios","objective-c","rate","review","review-page","smile","swift"],"created_at":"2024-01-05T20:16:21.323Z","updated_at":"2024-12-06T18:30:44.647Z","avatar_url":"https://github.com/nurdabolatov.png","language":"Objective-C","funding_links":[],"categories":["UI"],"sub_categories":["Rating Stars"],"readme":"# RPInteraction\n\n[![Version](https://img.shields.io/cocoapods/v/RPInteraction.svg?style=flat)](https://cocoapods.org/pods/RPInteraction)\n[![License](https://img.shields.io/cocoapods/l/RPInteraction.svg?style=flat)](https://cocoapods.org/pods/RPInteraction)\n[![Platform](https://img.shields.io/cocoapods/p/RPInteraction.svg?style=flat)](https://cocoapods.org/pods/RPInteraction)\n[![Build Status](https://travis-ci.com/nbolatov/RPInteraction.svg?branch=master)](https://travis-ci.com/nbolatov/RPInteraction)\n\n![demo](Screenshots/rpinteraction.gif)\n\n## Overview\n\nReview page interaction - handy and pretty way to ask for review.\nInspired by [dribbble shot](https://dribbble.com/shots/4332677-Review-Page-Interaction).\n\n## Requirements\n\n* iOS8\n\n## Installation\n\nRPInteraction is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'RPInteraction'\n```\n\n## Usage\n\n```Objective-C\n@import RPInteraction;\n\nRPViewController *vc = [RPViewController new];\n\n[vc onConfirmHandler:^(RPRate rate) {\n    switch (rate) {\n        case RPRateBad:\n            titleLabel.text = @\"BAD\";\n            break;\n        case RPRateUgh:\n            titleLabel.text = @\"UGH\";\n            break;\n        case RPRateOk:\n            titleLabel.text = @\"OK\";\n            break;\n        case RPRateGood:\n            titleLabel.text = @\"GOOD\";\n            break;\n    }\n    [self dismissViewControllerAnimated:YES completion:nil];\n}];\n\n[vc onCancelHandler:^{\n    [self dismissViewControllerAnimated:YES completion:nil];\n}];\n\n[self presentViewController:vc animated:YES completion:nil];\n```\n\n### Available properties\n\nProperty | Type | Default Value\n--- | --- | ---\n`rateTitle` | `NSString` | How was your experience with us?\n`badTitle` | `NSString` | BAD\n`ughTitle` | `NSString` | UGH\n`okTitle` | `NSString` | OK\n`goodTitle` | `NSString` | GOOD\n`confirmTitle` | `NSString` | SUBMIT\n`rateTitleFont` | `UIFont` | `[UIFont systemFontOfSize:24]`\n`confirmTitleFont` | `UIFont` | `[UIFont systemFontOfSize:24]`\n`backgroundColor` | `UIColor` | `#FFFFFF`\n`closeIconColor` | `UIColor` | `#656565`\n`rateTitleColor` | `UIColor` | `#656565`\n`reelTitleColor` | `UIColor` | `#FFFFFF`\n`confirmTitleColor` | `UIColor` | `#FFFFFF`\n`badTitleColor` | `UIColor` | `#FE5C6E`\n`ughTitleColor` | `UIColor` | `#F6BC7E`\n`okTitleColor` | `UIColor` | `#28CDFC`\n`goodTitleColor` | `UIColor` | `#41F8C7`\n`badStartGradientColor` | `UIColor` | `#FE0D46`\n`badEndGradientColor` | `UIColor` | `#FEAD96`\n`ughStartGradientColor` | `UIColor` | `#F9D975`\n`ughEndGradientColor` | `UIColor` | `#F39F86`\n`okStartGradientColor` | `UIColor` | `#12E6F9`\n`okEndGradientColor` | `UIColor` | `#41B0FD`\n`goodStartGradientColor` | `UIColor` | `#3EE882`\n`goodEndGradientColor` | `UIColor` | `#3DF9CF`\n\n## Example Project\n\nAn example project is included with this repo.  To run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Author\n\nnbolatov, nurda.bolatov@gmail.com\n\n## License\n\nRPInteraction 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%2Fnurdabolatov%2FRPInteraction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnurdabolatov%2FRPInteraction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnurdabolatov%2FRPInteraction/lists"}