iOS开发--打印NSRange,CGRect等结构体
使用对应的转换
NSStringFromCGPoint NSStringFromCGSize NSStringFromCGRect NSStringFromCGAffineTransform NSStringFromUIEdgeInsets
比如
NSLog(@"rect1: %@", NSStringFromCGRect(rect1));
使用对应的转换
NSStringFromCGPoint NSStringFromCGSize NSStringFromCGRect NSStringFromCGAffineTransform NSStringFromUIEdgeInsets
比如
NSLog(@"rect1: %@", NSStringFromCGRect(rect1));