I want to do a simple animation where the logo moves from point A on the screen at size 1 to point B on the screen at size 2
self.logoOutlet.frame = CGRect(x: x, y: y, width: 115, height: 115)
You either have to do math, to calculate the value of
x based on the bounds of the
logoOutlet or use AutoLayout and just use a center X constraint (which is probably the better choice).
You can read about the specifics in the documentation: Auto Layout Guide, or use one of the many tutorials on Auto Layout you can find via Google search.