{"id":17690170,"url":"https://github.com/onmyway133/easyconfetti","last_synced_at":"2025-04-05T03:09:32.320Z","repository":{"id":56905873,"uuid":"95125072","full_name":"onmyway133/EasyConfetti","owner":"onmyway133","description":"🎊 Fancy confetti effects in Swift","archived":false,"fork":false,"pushed_at":"2021-12-08T21:14:12.000Z","size":8624,"stargazers_count":562,"open_issues_count":1,"forks_count":46,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-10-25T06:02:18.859Z","etag":null,"topics":["cheer","confetti","effect","ios","particle"],"latest_commit_sha":null,"homepage":"https://onmyway133.com","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onmyway133.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"onmyway133","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2017-06-22T14:37:11.000Z","updated_at":"2024-10-15T07:15:06.000Z","dependencies_parsed_at":"2022-08-20T18:50:32.343Z","dependency_job_id":null,"html_url":"https://github.com/onmyway133/EasyConfetti","commit_stats":null,"previous_names":["onmyway133/cheers"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmyway133%2FEasyConfetti","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmyway133%2FEasyConfetti/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmyway133%2FEasyConfetti/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmyway133%2FEasyConfetti/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onmyway133","download_url":"https://codeload.github.com/onmyway133/EasyConfetti/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247280272,"owners_count":20912967,"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":["cheer","confetti","effect","ios","particle"],"created_at":"2024-10-24T11:50:00.666Z","updated_at":"2025-04-05T03:09:32.304Z","avatar_url":"https://github.com/onmyway133.png","language":"Swift","funding_links":["https://github.com/sponsors/onmyway133","https://www.buymeacoffee.com/onmyway133"],"categories":[],"sub_categories":[],"readme":"# EasyConfetti\n\n\u003ca href=\"https://www.buymeacoffee.com/onmyway133\"\u003e \n    \u003cimg alt=\"Buy Me A Coffee\" src=\"https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png\" style=\"height: auto !important; width: auto !important;\" /\u003e \n\u003c/a\u003e\n\n❤️ Support my apps ❤️ \n\n- [Push Hero - pure Swift native macOS application to test push notifications](https://onmyway133.com/pushhero)\n- [PastePal - Pasteboard, note and shortcut manager](https://onmyway133.com/pastepal)\n- [My other apps](https://onmyway133.com/apps/)\n\n❤️❤️😇😍🤘❤️❤️\n\n\u003cdiv align = \"center\"\u003e\n\u003cimg src=\"demo.gif\" width=\"300\" height=\"510\" /\u003e\n\u003c/div\u003e\n\n## Usage\n\n### Basic\n\n```swift\n// Create the view\nlet confettiView = ConfettiView()\nview.addSubview(confettiView)\n\n// Configure\nconfettiView.config.particle = .confetti(allowedShapes: Particle.ConfettiShape.all)\n\n// Start\nconfettiView.start()\n\n// Stop\nconfettiView.stop()\n```\n\n### Configuration\n\nConfiguration will be applied at the next `start`\n\n```swift\n// Use predefined confetti\nconfettiView.config.particle = .confetti(allowedShapes: Particle.ConfettiShape.all)\n\n// Use texts\nlet string = NSAttributedString(string: \"❤️\", attributes: [\n  NSFontAttributeName: UIFont.systemFont(ofSize: 15)\n])\nconfettiView.config.particle = .text([string])\n\n// Use images\nlet image = UIImage(named: \"star\")\nconfettiView.config.particle = .image([image])\n\n// Change colors\nconfettiView.config.colors = [UIColor.red, UIColor.green]\n\n// Customize cells\nconfettiView.config.customize = { cells in\n\n}\n```\n\n## Installation\n\n**EasyConfetti** is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'EasyConfetti'\n```\n\n**EasyConfetti** is also available through [Carthage](https://github.com/Carthage/Carthage).\nTo install just write into your Cartfile:\n\n```ruby\ngithub \"hyperoslo/EasyConfetti\"\n```\n\n**EasyConfetti** is also available through [Accio](https://github.com/JamitLabs/Accio).\nTo install just write into your Package.swift:\n\n```swift\n.package(url: \"https://github.com/onmyway133/EasyConfetti.git\", .upToNextMajor(from: \"2.3.0\")),\n```\n\nThen link `EasyConfetti` in your App target like so:\n\n```swift\n.target(\n    name: \"App\",\n    dependencies: [\n        \"EasyConfetti\",\n    ]\n),\n```\n\n**EasyConfetti** can also be installed manually. Just download and drop `Sources` folders in your project.\n\n## Author\n\n- Khoa Pham, onmyway133@gmai.com\n\n## Credit\n\n- Hyper Interaktiv AS, ios@hyper.no\n- Background image in the demo is from http://www.freepik.com/\n\n## Contributing\n\nWe would love you to contribute to **EasyConfetti**, check the [CONTRIBUTING](https://github.com/hyperoslo/EasyConfetti/blob/master/CONTRIBUTING.md) file for more info.\n\n## License\n\n**EasyConfetti** is available under the MIT license. See the [LICENSE](https://github.com/hyperoslo/EasyConfetti/blob/master/LICENSE.md) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonmyway133%2Feasyconfetti","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonmyway133%2Feasyconfetti","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonmyway133%2Feasyconfetti/lists"}