The best way to log CGPoint is to use the following :


CGPoint  point= CGPointMake(5,10);

NSLog(@"Point : %@", NSStringFromCGPoint(point));

Another way to do is to use NSValue:


NSLog(@"Point :%@", [NSValue valueWithCGPoint:point]));

Advertisements