I am new to using CGPoints to move objects around in Swift. I was wondering if you had a custom view that was of width and height 320, how you would be able to figure out the constraints of that in a CG coordinate system.
For example I have a ball object. If I set
ball.center.y = CGFloat(390) //where 390 is some random point
Then the center of y is a little above the half point line in the view. I know the top left is 0,0 for CGPoint and was wondering if there was a standard coordinate system when dealing with two dimensional coordinates.