I noticed the following in a piece of code that I support / extend:
float systemVersion = [[[UIDevice currentDevice] systemVersion] floatValue]; if (systemVersion > 3.2 || systemVersion == 3.2 ) {
I know that floating point can lead to some odd comparison of behavior due to accuracy, but will the behavior be higher than a piece of code below?
float systemVersion = [[[UIDevice currentDevice] systemVersion] floatValue]; if (systemVersion >= 3.2) {
source share