To move a view, you need to either set its center property—a CGPoint type—or set its frame property—a CGRect type. These types are defined in the Core Graphics framework, a framework that provides the basic building blocks for drawing and positioning views. Views use three data types from Core Graphics to determine their shape and size: CGPoint, CGSize, and CGRect.
CGPoint, CGSize, and CGRect
If someone asked you to draw a box, you would need to know at least two pieces of information about it: where it goes and what size it is. In Core Graphics, to specify the where, you use CGPoint. To specify what size, you use CGSize. And to specify both where and what size, you use CGRect.
ONE MORE THING
The CG prefix is short for Core ...