Hi Guys, I have seen this error message in Xcode: "implicit conversion loses integer precision". Otherwise the app works perfectly. Will my app be rejected because of this warning message?
NSInteget error message
Hi ishiapps
That warning means that your assigning an NSInteger (which is 64 bits wide when building for 64-bit) to anint (32 bits wide when building for 64-bit). If you know that your NSInteger will never contain a value above INT_MAX or below INT_MIN you can silence the warning by forcing the cast: (NSInteger)myNSInteger.
Take a look at the 64-Bit Transition Guide for Cocoa Touch.