{"id":17084321,"url":"https://github.com/piemonte/burst","last_synced_at":"2025-04-12T21:12:46.877Z","repository":{"id":56904056,"uuid":"183338538","full_name":"piemonte/Burst","owner":"piemonte","description":"🎆 Burst interface elements in Swift","archived":false,"fork":false,"pushed_at":"2021-03-03T06:29:51.000Z","size":535,"stargazers_count":31,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T21:12:28.523Z","etag":null,"topics":["burst","caemittercell","caemitterlayer","coreanimation","firework","ios","particle-effects","particles","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/piemonte.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":"2019-04-25T02:10:39.000Z","updated_at":"2024-03-20T12:59:18.000Z","dependencies_parsed_at":"2022-08-20T18:50:37.300Z","dependency_job_id":null,"html_url":"https://github.com/piemonte/Burst","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piemonte%2FBurst","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piemonte%2FBurst/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piemonte%2FBurst/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piemonte%2FBurst/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piemonte","download_url":"https://codeload.github.com/piemonte/Burst/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631681,"owners_count":21136562,"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":["burst","caemittercell","caemitterlayer","coreanimation","firework","ios","particle-effects","particles","swift"],"created_at":"2024-10-14T13:06:45.674Z","updated_at":"2025-04-12T21:12:46.851Z","avatar_url":"https://github.com/piemonte.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Burst 🎆\n\n`Burst` is a [Swift](https://developer.apple.com/swift/) and simple way to make elements in your iOS app burst.\n\nBack in the day, [Facebook Paper](https://en.wikipedia.org/wiki/Facebook_Paper) popularized a firework burst effect using CAEmitterLayers with buttons.\n\nThis library provides a firework effect using CAEmitterLayers contained in an easy-to-use customizable component, written in Swift.\n\nIf you enjoy this library, you may also like another CAEmitterLayer project, [Twinkle](https://github.com/piemonte/twinkle).\n\n[![Build Status](https://travis-ci.org/piemonte/Burst.svg?branch=master)](https://travis-ci.org/piemonte/Burst) [![Pod Version](https://img.shields.io/cocoapods/v/Burst.svg?style=flat)](http://cocoadocs.org/docsets/Burst/) [![Swift Version](https://img.shields.io/badge/language-swift%205.0-brightgreen.svg)](https://developer.apple.com/swift) [![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://github.com/piemonte/Burst/blob/master/LICENSE)\n\n* `5.0` - Target your Podfile to the latest release or master\n\n# Quick Start\n\n`Burst` is available and recommended for installation using the Cocoa dependency manager [CocoaPods](http://cocoapods.org/). You can also simply copy the `Burst.swift` file into your Xcode project.\n\n```ruby\n# CocoaPods\npod \"Burst\", \"~\u003e 0.1.2\"\n\n# Carthage\ngithub \"piemonte/Burst\" ~\u003e 0.1.2\n\n# SwiftPM\nlet package = Package(\n    dependencies: [\n        .Package(url: \"https://github.com/piemonte/Burst\", majorVersion: 0)\n    ]\n)\n```\n\n## Usage\n\nThe sample project provides an example of how to integrate `Burst`, otherwise you can follow this example.\n\n``` Swift\n   import Burst\n```\n\n``` Swift\n\n// ...\n    let button: BurstButton = BurstButton(frame: CGRect(x: 0, y: 0, width: 100, height: 100))\n// ...\n\nextension ViewController {\n\n    @objc func handleButton(_ button: BurstButton) {\n        button.isSelected = !button.isSelected\n    }\n}\n\n\n```\n\n## Community\n\n- Found a bug? Open an [issue](https://github.com/piemonte/burst/issues).\n- Feature idea? Open an [issue](https://github.com/piemonte/burst/issues).\n- Want to contribute? Submit a [pull request](https://github.com/piemonte/burst/pulls).\n\n## Resources\n\n* [Core Animation Reference Collection](https://developer.apple.com/library/ios/documentation/Cocoa/Reference/CoreAnimation_framework/index.html)\n* [Swift Evolution](https://github.com/apple/swift-evolution)\n* [CAEmitterLayer – NSHipster](https://nshipster.com/caemitterlayer/)\n* [MCFireworksButton](https://github.com/matthewcheok/MCFireworksButton), Objective-C version\n* [Twinkle](https://github.com/piemonte/twinkle)\n* [Twinkle for Android](https://github.com/dev-labs-bg/twinkle)\n* [Shimmer](https://github.com/facebook/shimmer)\n\n## License\n\n`Burst` is available under the MIT license, see the [LICENSE](https://github.com/piemonte/burst/blob/master/LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiemonte%2Fburst","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiemonte%2Fburst","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiemonte%2Fburst/lists"}