{"id":16684565,"url":"https://github.com/peterprokop/starrystars","last_synced_at":"2025-07-13T07:38:39.679Z","repository":{"id":62456001,"uuid":"45331604","full_name":"peterprokop/StarryStars","owner":"peterprokop","description":"StarryStars is iOS GUI library for displaying and editing ratings","archived":false,"fork":false,"pushed_at":"2019-10-26T14:45:08.000Z","size":54,"stargazers_count":173,"open_issues_count":5,"forks_count":23,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-12T09:39:41.820Z","etag":null,"topics":[],"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/peterprokop.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":"2015-11-01T07:20:58.000Z","updated_at":"2025-01-08T11:06:42.000Z","dependencies_parsed_at":"2022-11-02T00:01:26.861Z","dependency_job_id":null,"html_url":"https://github.com/peterprokop/StarryStars","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterprokop%2FStarryStars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterprokop%2FStarryStars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterprokop%2FStarryStars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterprokop%2FStarryStars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterprokop","download_url":"https://codeload.github.com/peterprokop/StarryStars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243835942,"owners_count":20355611,"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":[],"created_at":"2024-10-12T14:44:20.152Z","updated_at":"2025-03-17T00:32:46.675Z","avatar_url":"https://github.com/peterprokop.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StarryStars\n\nStarryStars is iOS GUI library for displaying and editing ratings\n\n## Features\nStarryStars' ```RatingView``` is both ```IBDesignable``` and ```IBInspectable```\n\nYou can change any of the following properties right in the interface builder:\n\n![Properties](http://i.imgur.com/puU9Ypc.png)\n\nAnd see the result right away:\n\n![RatingView](http://i.imgur.com/r3bMqDT.png)\n\nTo add RatingView to your Storyboard/.xib file just drag a generic UIView from palette, then in \"Custom Class\" section of identity inspector set class to ```RatingView```\n\n## Installation\n\n### Carthage\n- `cd` to your project folder\n- `touch Cartfile` (if you don't have one yet)\n- `nano Cartfile`\n- put `github \"peterprokop/StarryStars\" == 2.0.0` into Cartfile\n- Save it: `ctrl-x, y, enter`\n- Run `carthage update`\n- Copy framework from `Carthage/Build/iOS` to your project\n- Make sure that framework is added in Embedded Binaries section of your target (or else you will get dyld library not loaded referenced from ... reason image not found error)\n- Add  `import StarryStars` on top of your view controller's code\n\n### Manual\nJust clone and add ```StarryStars``` directory to your project.\n\n### Cocoapods\n- Make sure that you use latest stable Cocoapods version: `pod --version`\n- If not, update it: `sudo gem install cocoapods`\n- `pod init` in you project root dir\n- `nano Podfile`, add:\n\n```\npod 'StarryStars', '~\u003e 2.0.0'\nuse_frameworks! \n``` \n- Save it: `ctrl-x`, `y`, `enter`\n- `pod update`\n- Open generated `.xcworkspace`\n- Don't forget to import StarryStars: `import StarryStars`!\n\n## Requirements\n\n- iOS 10.0+\n- Xcode 10.0+\n- Swift 5.0 (for older versions, see `swift-2.2` branch)\n\n## Usage from code\n\nSwift:\n```\nlet rvRightToLeft = RatingView()\n\nrvRightToLeft.frame = view.bounds\n\nview.addSubview(rvRightToLeft)\nrvRightToLeft.editable = true\nrvRightToLeft.delegate = self\n\n// RatingView will respect setting this property\nrvRightToLeft.semanticContentAttribute = .forceRightToLeft\n```\n\nObjective C:\n```\nRatingView* rvRightToLeft = [[RatingView alloc] init];\n\nrvRightToLeft.frame = self.view.bounds;\n\n[self.view addSubview:rvRightToLeft];\nrvRightToLeft.editable = YES;\nrvRightToLeft.delegate = self;\n\n// RatingView will respect setting this property\nrvRightToLeft.semanticContentAttribute = UISemanticContentAttributeForceRightToLeft;\n```\n\n## Other Projects\n\n[SwiftOverlays](https://github.com/peterprokop/SwiftOverlays) - Swift GUI library for displaying various popups and notifications.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterprokop%2Fstarrystars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterprokop%2Fstarrystars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterprokop%2Fstarrystars/lists"}