Swiftpack.co -  benlmyers/confetti-view as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
benlmyers/confetti-view
A simple confetti view for apps using SwiftUI.
.package(url: "https://github.com/benlmyers/confetti-view.git", from: "1.1.0")

ConfettiView

Create fun animated confetti views with ease!

Social Preview

Installation

Use Swift Package Manager to install this package:

https://github.com/benlmyers/confetti-view

Usage

In your View, first import ConfettiView:

import ConfettiView

Place the ConfettiView in a ZStack with your other content to display a fun confetti animation when the view appears!

var body: some View {
  ZStack {
    SomeContentView()
    ConfettiView()
  }
}

Future additions

If this package receives attention, I will continue to add features to this.

Please make your feature requests using the GitHub Issues system!

Credits

This project has been adapated from this repo, with some modifications. Credits go to the original author!

GitHub

link
Stars: 2
Last commit: 1 week ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

1.1
1 week ago

You can now specify whether you want to use random colors, or a single color, using the ConfettiView(_ color:) initializer.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API