Before development for iPhone/iPad, It is said as possible as not use float number for calculation, but I found all sample source for iPhone/iPad use float all time.
For example, when create a view using CGRectMake(0.0, 0.0, 123.0, 824.0) or CGRectMake(0.0f, 0.0f, 123.0f, 824.0f), maybe I am a newbie, I still like to use CGRectMake(0, 0, 123, 824), I have two questions:
1. Do those methods above return the same result?
2. Why the float is So fast in iPhone/iPad or Mac?
Sorry for very basic and general questions
For example, when create a view using CGRectMake(0.0, 0.0, 123.0, 824.0) or CGRectMake(0.0f, 0.0f, 123.0f, 824.0f), maybe I am a newbie, I still like to use CGRectMake(0, 0, 123, 824), I have two questions:
1. Do those methods above return the same result?
2. Why the float is So fast in iPhone/iPad or Mac?
Sorry for very basic and general questions