{"repo":"simibac/ConfettiSwiftUI","free":true,"listed":false,"github":"https://github.com/simibac/ConfettiSwiftUI","clone":"git clone https://github.com/simibac/ConfettiSwiftUI.git","description":"SwiftUI Package for Configurable Confetti Animation 🎉","language":"Swift","stars":2445,"topics":["swiftui","animation"],"license":"MIT","category":"mobile-apps","readme_excerpt":"ConfettiSwiftUI Customize confetti animations. - All elements are built with pure SwiftUI. - Select from default confetti shapes, emojis, SF Symbols or text. - Trigger the animation with one state change multiple times with a haptic feed back on each explosion. 🌄 Examples 💻 Installation Swift Package Manager The Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies. To integrate ConfettiSwiftUI into your Xcode project using Xcode 12, specify it in File Swift Packages Add Package Dependency... : --- Manually If you prefer not to use any of dependency managers, you can integrate ConfettiSwiftUI into your project manually. Put Sources/ConfettiSwiftUI folder in your Xcode project. Make sure to enable Copy items if needed and Create groups . 🧳 Requirements - iOS 14.0+ macOS 11+ - Swift 5+ 🛠 Usage First, add import ConfettiSwiftUI on every swift file you would like to use ConfettiSwiftUI . Define a integer as a state varable which is responsible for triggering the animation. Any change to that variable will span a new animation (increment and decrement). Parameters parameter type description default ------------------ -------------- ----------------------------------------------------- ---------------------------------------------------------------------------------------------------- trigger Binding on any change of this variable trigge","default_branch":null,"files":null,"tree":[],"storefront":"/r/simibac","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/simibac/ConfettiSwiftUI/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}