{"id":16570122,"url":"https://github.com/xnth97/trophykit","last_synced_at":"2025-10-18T09:13:47.514Z","repository":{"id":56924556,"uuid":"380134538","full_name":"xnth97/TrophyKit","owner":"xnth97","description":"An animated trophy banner that looks like Xbox achievement 🏆","archived":false,"fork":false,"pushed_at":"2021-07-02T06:44:11.000Z","size":251,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-01T20:51:09.921Z","etag":null,"topics":["achievement","banner","cocoapods","ios","notification","swift","toast","trophy","tvos","ui-component","ui-library","uikit"],"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/xnth97.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":"2021-06-25T05:33:32.000Z","updated_at":"2024-11-20T17:53:58.000Z","dependencies_parsed_at":"2022-08-21T05:20:38.130Z","dependency_job_id":null,"html_url":"https://github.com/xnth97/TrophyKit","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xnth97%2FTrophyKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xnth97%2FTrophyKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xnth97%2FTrophyKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xnth97%2FTrophyKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xnth97","download_url":"https://codeload.github.com/xnth97/TrophyKit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238751813,"owners_count":19524642,"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":["achievement","banner","cocoapods","ios","notification","swift","toast","trophy","tvos","ui-component","ui-library","uikit"],"created_at":"2024-10-11T21:17:23.913Z","updated_at":"2025-10-18T09:13:47.419Z","avatar_url":"https://github.com/xnth97.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TrophyKit\n\nAn animated trophy banner that looks like Xbox achievement.\n\n[![Version](https://img.shields.io/cocoapods/v/TrophyKit.svg?style=flat)](https://cocoapods.org/pods/TrophyKit)\n[![License](https://img.shields.io/cocoapods/l/TrophyKit.svg?style=flat)](https://cocoapods.org/pods/TrophyKit)\n[![Platform](https://img.shields.io/cocoapods/p/TrophyKit.svg?style=flat)](https://cocoapods.org/pods/TrophyKit)\n\n## Demo\n\nhttps://user-images.githubusercontent.com/6781789/123460143-0b87dd80-d59c-11eb-97f9-4951e914a106.mov\n\n## Usage\n### Requirements\n\n* iOS 14.0+\n* tvOS 14.0+\n* Swift 5.3+\n\n### Installation\n\nTrophyKit is available through [CocoaPods](https://cocoapods.org). To install it, simply add the following line to your Podfile:\n\n```ruby\npod 'TrophyKit'\n```\n\n### Example\n\nTo run the example project, clone the repo, and run pod install from the Example directory first.\n\n### API\n\n```swift\n/// Create a trophy instance with a configuration. It is efficient to retain a trophy instance\n/// and call `show` with different parameters.\nlet trophy = Trophy(configuration: TrophyConfiguration(size: .medium))\n/// Show the trophy in view controller.\ntrophy.show(from: self,\n            title: \"Achievement Unlocked\",\n            subtitle: \"You have added a new skill!\",\n            iconSymbol: \"gamecontroller.fill\",\n            trophyIconSymbol: \"rosette\")\n```\n\n## TODO\n\n- [x] Performance optimization and support reuse\n- [x] tvOS support\n- [ ] More customization APIs\n- [ ] Tweak animation and visual\n- [ ] Sound and haptic support\n- [x] Swift Package Manager\n- [ ] Queue for multiple trophies\n- [ ] Position for display trophy banner\n- [ ] Manually hide banner\n- [ ] Support anchor view like toolbar or tab bar\n- [ ] Interactions like tap target and completion block\n\n## License\n\nTrophyKit is available under the MIT license. See the [LICENSE](LICENSE) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxnth97%2Ftrophykit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxnth97%2Ftrophykit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxnth97%2Ftrophykit/lists"}