Posts
Magical Particle Effects with SwiftUI Canvas
In one of the previous posts, I shared a simple way of Creating particle effects in SwiftUI. The approach is super easy and utilizes the power of viewModifiers, but I would not recommend it for production use as it is performance-greedy when having a bigger amount of particles in place (because each particle is a single view)
SwiftUI transitions with distortion effect and Metal Shaders
This year DubDub is over and I am very excited about the new developer treats that iOS17 will bring us that expand the animation possibilities of SwiftUI. I am talking mainly about the PhaseAnimator, KeyframeAnimator and the ability to utilize Metal shaders on SwiftUI views through modifiers .distortionEffect, .layerEffect, and .colorEffect (docs).
Avoid Spacers in SwiftUI Stacks
As I teach SwiftUI here and there I have noticed a particular pattern that is being used and I would like to comment on a possible issue it can lead to. Let’s explore it!
Creating particles in SwiftUI - in less than 50 lines of code
I have put together a short video about creating particle effects with SwiftUI. It showcases the easiest/lazy way, which is great for simple eye candies and experimenting.
Mastering transitions in SwiftUI
Transitions play a vital role in the user experience of our apps. They are visual keys signalizing that the app or screen context is changing.