I want to get this structure
CGPoint addLines1[] = { CGPointMake(30.0, 150.0), CGPointMake(41.67, 145.19), CGPointMake(53.33, 103.25), CGPointMak
For iOS:
Create array:
NSArray *myCGPointArray = @[[NSValue valueWithCGPoint:CGPointMake(30.0, 150.0)],[NSValue valueWithCGPoint:CGPointMake(41.67, 145.19)]];
Get 1st CGPoint object:
CGPoint myPoint = [myCGPointArray[0] CGPointValue];