SwiftRipple Examples
SwiftRipple Use Cases
All examples can be found in this project, and the example names correspond to the View names in the project!
❗️Lots of GIFs ahead!❗️
Ranked by how fun I think they are:
TOP 1 Heart ♥
Implementation: Pulse + AllTouchGestureModifier + Timer
Example Name: HoldHeartRippleExample
TOP 2 Pulse!
Implementation: Pulse + Timer + A Smart Brain 😉
Example Name: PulseRippleExample
TOP 3 Safe Area
Implementation: SwiftRipple + GeometryReader + A Smart Brain 😉
Example Name: RippleDiversityExample
TOP 4 Ripple Button (Material Style)
Implementation: Just use RippleButton
directly! Super easy!
Example Name: RippleButtonExample
TOP 5 Diffusion
Implementation: Just use SwiftRipple
directly!
Example Name: CircleExtendExample
TOP 6 Floating Hearts
Implementation: Just use SwiftRipple
directly!
Example Name: HeartRippleExample
TOP 7 Simple Ripple
Who says ripples must always expand? Sometimes simplicity is the best!
Example Name: CircleExample
Finally
Hope these beautiful ripples bring you joy!
Best,
Richard Jorne