I have this code inside an animation:
image.frame = CGRectMake(x: x, y: y, width, height)
I need to get the x and y coordinates of an image. I found this Objective-C code:
CGPoint origin = imageView.frame.origin;
Once I find the x and y position of the image, I will need to transform it. I will use something like:
image.frame = CGRectMake(x-50, y-50, width+500, height+500)
...so that I can move the image around the screen. How do I find the original x and y positions?