Pavel Zak’s dev blog

#iOS development #SwiftUI #maybeMore

Posts - Page 3 of 4

Custom controls in SwiftUI

  • 5 min read

In my recent project, I have created custom toggle for baby gender selection. In this post, I would like to demonstrate, how to create such a custom view in SwiftUI and comment it in the order how I usually approach these things. But first, let’s have a look at what I am aiming for.

Read More

Animating gradients in SwiftUI

  • 5 min read

SwiftUI animation system is simply amazing. But when using gradient fills, it is impossible to animate color change by just changing its color properties. In this article, I will present and discuss possible ways how to animate gradient fills and also address the issue with .hueRotation modifier.

Read More