CGRect、CGSize、UIEdgeInsets、UIOffset、CGPoint、NSRange等
UIGeometry.h
1 NSString *NSStringFromCGPoint(CGPoint point); 2 NSString *NSStringFromCGVector(CGVector vector); 3 NSString *NSStringFromCGSize(CGSize size); 4 NSString *NSStringFromCGRect(CGRect rect); 5 NSString *NSStringFromCGAffineTransform(CGAffineTransform transform); 6 NSString *NSStringFromUIEdgeInsets(UIEdgeInsets insets); 7 NSString *NSStringFromUIOffset(UIOffset offset); 8 9 CGPoint CGPointFromString(NSString *string); 10 CGVector CGVectorFromString(NSString *string); 11 CGSize CGSizeFromString(NSString *string); 12 CGRect CGRectFromString(NSString *string); 13 CGAffineTransform CGAffineTransformFromString(NSString *string); 14 UIEdgeInsets UIEdgeInsetsFromString(NSString *string); 15 UIOffset UIOffsetFromString(NSString *string);
NSRange.h
1 NSString *NSStringFromRange(NSRange range); 2 NSRange NSRangeFromString(NSString *aString);