🍦 SwiftServe Get

Menu / packages / confettiswiftui

confettiswiftuias of 3.0.0 · 9ae5bc2c

https://github.com/simibac/confettiswiftui

What it serves, where

CapabilityiOSmacOSwatchOStvOSvisionOSLinuxCatalyst
Haptic feedback

serves it · confidence 0.70 · as of 3.0.0

  • View.confettiCannon
    Sources/View+ConfettiCannon.swift:47
    View the line on GitHub →
    Public API exposes hapticFeedback: Bool = true; checkout source plays UIImpactFeedbackGenerator(.heavy) on each explosion on iOS.
  • ConfettiCannon.init
    Sources/ConfettiSwiftUI.swift:77
    View the line on GitHub →
    hapticFeedback parameter in initializer signature.
  • README.md:0
    View the line on GitHub →
    README: haptic feedback on each confetti explosion (hapticFeedback parameter, default true).
?

not verified yet · confidence 0.30 · as of 3.0.0

  • View.confettiCannon
    Sources/View+ConfettiCannon.swift:47
    View the line on GitHub →
    hapticFeedback parameter is present, but the haptic playback in the checkout is internally compiled out on macOS (canImport(UIKit) guard, not visible in the public surface), so no surface-level absence evidence exists; likely a no-op.

serves it · confidence 0.70 · as of 3.0.0

  • View.confettiCannon
    Sources/View+ConfettiCannon.swift:47
    View the line on GitHub →
    hapticFeedback parameter present; checkout source has a dedicated os(watchOS) branch playing WKInterfaceDevice.current().play(.click).
?

not verified yet · confidence 0.30 · as of 3.0.0

  • View.confettiCannon
    Sources/View+ConfettiCannon.swift:47
    View the line on GitHub →
    hapticFeedback parameter is present, but checkout source excludes tvOS from haptic playback via an internal !os(tvOS) guard not visible in the public surface; likely a no-op.
?

not verified yet · confidence 0.30 · as of 3.0.0

  • View.confettiCannon
    Sources/View+ConfettiCannon.swift:47
    View the line on GitHub →
    hapticFeedback parameter is present, but checkout source excludes visionOS from haptic playback via an internal !os(visionOS) guard not visible in the public surface; likely a no-op.
?

not verified yet · confidence 0.15 · as of 3.0.0

  • View.confettiCannon
    Sources/View+ConfettiCannon.swift:47
    View the line on GitHub →
    SwiftUI-only module; no haptics API on Linux; no surface-level absence evidence, so status stays unknown.
?

not verified yet · confidence 0.40 · as of 3.0.0

  • View.confettiCannon
    Sources/View+ConfettiCannon.swift:47
    View the line on GitHub →
    UIImpactFeedbackGenerator path compiles on Catalyst (UIKit importable), but whether it produces actual haptic output on Mac hardware is unverified.
Particle effects

serves it · confidence 0.70 · as of 3.0.0

serves it · confidence 0.70 · as of 3.0.0

serves it · confidence 0.70 · as of 3.0.0

serves it · confidence 0.70 · as of 3.0.0

serves it · confidence 0.70 · as of 3.0.0

  • View.confettiCannon
    Sources/View+ConfettiCannon.swift:47
    View the line on GitHub →
    No visionOS gap in surface digest; pure SwiftUI surface. Manifest has no visionOS floor (not absence evidence), hence reduced confidence.
  • ConfettiCannon.init
    Sources/ConfettiSwiftUI.swift:77
    View the line on GitHub →
    Unconditional on visionOS per surface digest.
?

not verified yet · confidence 0.20 · as of 3.0.0

  • View.confettiCannon
    Sources/View+ConfettiCannon.swift:47
    View the line on GitHub →
    Surface digest records no linux gap, but the module is SwiftUI-only and SwiftUI is not available on Linux; no guard/availability anchor exists to prove absence, so status stays unknown.

serves it · confidence 0.70 · as of 3.0.0

✓ serves it · ◐ with conditions · ✕ not served (proven) · ? not verified yet — hover any verdict for the receipt, click to pin it

Notes

Haptic feedback: Secondary capability: hapticFeedback parameter (default true) on the confetti API. Checkout source plays haptics only on UIKit platforms excluding tvOS/visionOS (UIImpactFeedbackGenerator) and on watchOS (WKInterfaceDevice.play). The gating guard is internal, so excluded platforms are labeled unknown rather than unsupported.

Particle effects: Core purpose of the package: configurable confetti particle animation (shapes, emojis, SF Symbols, text) in pure SwiftUI. All 23 public decls are unconditional with no per-platform gaps.

Badges for your README

Maintainer of confettiswiftui? These are yours — verified claims, linked to the receipts. Wrong verdict? That's a fix we want; see contribute.

verified badge
capability matrix badge
Haptic feedback badge
Particle effects badge