Codec ░ CGPointMake

33CGPointMake

CGPoint CGPointMake (
CGFloat x,
CGFloat y
);

x, y has to be floats, passing only integers might not work.

especially good to know, when and if ints get converted into floats.

= CGPointMake(100.0f + someIntVar, 50.0f + anotherIntVar);
≠ CGPointMake(100 + someIntVar, 50 + anotherIntVar);

this .0f seems to have a meaning after all.

564NSData to NSString and vice versa 376Variable length of accuracy of float in NSString 305Converting float to string %4.2f