I want to make an app with a very simple animation. There will be a static picture and every time a new question is asked the picture will slide to the right a few millimeters or at most a centimeter. How can I do that programmatically? thanks
There are various ways to do this. To move a view you want to change its constraints, or more likely you want to change the constant on one or more of the view's constraints. To animate that movement you want to wrap the change to the constraint constant in an animation block.
Okay, thank you. Actually I need some suggestions for a good drawing software. I need to create some simple geometric shapes that can be colored differently. I tried the free version of autocad Sketchbook - it seems nice but it requires some adjusting to the tools. There's a bit of a learning curve to it. I wonder if anyone knows of any other graphics software that creates geometric shapes quickly and intuitively.