I don't mean to offend, but why to overcomplicate? 2 lines of code do the same: .blur(radius: isBlur ? 10.0 : 0.0) .animation(.easeInOut, value: isBlur)
Hello @colgates. You're not offending anybody. We are fellow developers learning from each other. Thanks for giving the feedback. Coming to the code. Both are doing different things. One is bluring another one is animating the blur to create smooth transition.
I don't mean to offend, but why to overcomplicate?
2 lines of code do the same:
.blur(radius: isBlur ? 10.0 : 0.0)
.animation(.easeInOut, value: isBlur)
Hello @colgates.
You're not offending anybody. We are fellow developers learning from each other. Thanks for giving the feedback.
Coming to the code. Both are doing different things.
One is bluring another one is animating the blur to create smooth transition.