I would like to know how to use these properties in the right manner.
As I understand, frame can be used from the container of the view I am creating. I
frame
I found this image most helpful for understanding frame, bounds, etc.
Also please note that frame.size != bounds.size when the image is rotated.
frame.size != bounds.size