核心图形扩展

let point = CGPoint(x: 1.0, y: 1.0)
let size = CGSize(width: 2.0, height: 2.0)
let combo: CGPoint = point + size
// CGPoint(x: 3.0, y: 3.0)