In ViewController.Swift I managed to make a box animate from one point to another. I thought it would be easy to loop this so the box will animate to one point and then anim
UIView.animate(withDuration: 3.0, delay: 0.0, options: [.curveLinear, .repeat], animations: { () -> Void in coloredSquare.frame = CGRect(x: 120, y: 220, width: 100, height: 100) }, completion: { (finished: Bool) -> Void in })