I want to move an image around the screen using the [UIView AnimatewithDuration: ...]
block. There are about 24 parts of this movements where the image moves from one point to another and then another and so on.
The problem is that I have to write 24 stacked blocks, which makes it extremely difficult to write, read, debug and indent while keeping track of each closing curly brace, square bracket, etc.
Is there is a simpler way to do it? There must be some way, with a for
loop or something similar.