A small SwiftUI project to count how many times you press a button simple, fun, and a great practice for SwiftUI animations and state management!
Just open the app and tap the "Aumentar" button (means Increase in Spanish).
Each tap:
- 🔢 Increases the counter.
- 🌀 Triggers a smooth scale animation.
- ✍️ Updates the message below the number.
- Swift 5
- SwiftUI
@StateObject
andObservableObject
for state management- Animations using
.scaleEffect
and.onChange
- Custom UI with
LinearGradient
backgrounds


- Open the project in Xcode 15 or later.
- Run on a simulator or a real device.
- Tap the button and enjoy the animation!
Made by Benjamin Salgado just having fun learning SwiftUI! 🚀
Thanks for checking this out!