• TikTok logo-ish effect in SwiftUI

    Hello and welcome to another blog post about SwiftUI. This years WWDC is approaching fast and the expectation of new SwiftUI features and/or changes is tremendous. So I have decided to dedicate this post to something lighter yet still playful. I will share with you a simple way of creating...


  • Morphing shapes in SwiftUI

    Hello and welcome to another blog post about SwiftUI animations. In the previous post dedicated mainly to AnimatableData, we have constructed AnimatableVector that allowed us to create animatable charts. Today we will utilize the same class for morphing shapes. Shape representation Shapes in SwiftUI can be constructed as a composition...


  • How to define custom LLDB command in Xcode

    It has been a couple of months since my last post. I have been quite occupied with a big project where I am helping to modernize its archaic code-base. On a daily basis, I spend a lot of time debugging and I am usually using several LLDB commands over and over...


  • Animating complex shapes in SwiftUI

    Hello and welcome to another blog post about SwiftUI. This time, we will talk about the animation of complex shapes in SwiftUI. You will understand animatableData property and will be able to implement animatable custom Shape struct that depends on multiple parameters. AnimatableData Animating simple shapes is easy thanks to...


  • Custom controls in SwiftUI

    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...