As my question title says how can I convert CGPoint into NSValues so I can store then Into array In swift.
CGPoint
NSValues
In objective-C
Exactly as you'd imagine:
let point = CGPoint(x: 9.0, y: 9.0) let pointObj = NSValue(CGPoint: point) let newPoint = pointObj.CGPointValue()