0.1.0: The More Things Change
- Added Change Effects that perform effects whenever values update.
- Added haptic feedback to
.anvil
.vanish
now takes an optional mask used to determine where the particles are emitted from.
Change Effects
Change.Effects.mov
This version of Pow introduces Change Effects that will trigger a visual or haptic effect every time a value changes.
Button {
post.toggleLike()
} label: {
Label(post.likes.formatted(), systemName: "heart.fill")
}
.changeEffect(.spray { heart }, value: post.likes, isEnabled: post.isLiked)
.tint(post.isLiked ? .red : .gray)
You can choose from the following Change Effects: Spray, Haptic Feedback, Jump, Ping, Rise, Shake, Shine, and Spin.
If you're interested in using Pow in your app, you can now purchase a license on our site. ✨
Thank you for your support!