In one animation I wanted an svg to rotate in the background and in another I wanted an element to slowly glow on and off. In both cases it helped to have a tool to do the basic animation. I have been using Figma for the last year and there are some plugins that will generate css animation code. Figmotion seems to be the most popular, but I liked Motion a bit better as it made it easier to select items in the hierarchy of your frame in its left side panel.
Unfortunately, Figma itself does not support viewing animations in the editor although you can save them in the GIF format that can then be played in the prototype player. Using Motion you can export it as an animated gif and then drag that file back into your Figma file. If you are using the animation else where as I was there are several other export options including CSS, which is what I needed.
I then took that css and played around with it more in codepen.io. You can find lots of other folks css animation experiments there as well.
Yet, every time I start in on Xcode it is just a hodgepodge of UI and code. Sure there are starter bundles, code look-up, and contextual help, but there is nothing intuitive about building an app in Xcode. Compare this to visual studio from Microsoft and it is completely different. Sure Visual Studio (the full app not the VS Code) is also very complex, but I was surprised at how easy it was to add a button to the UI and then the write code for that button.