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
@StateObjectandObservableObjectfor state management- Animations using
.scaleEffectand.onChange - Custom UI with
LinearGradientbackgrounds
- 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!