In iOS 7 Sprite Kit
NSMutableArray *temp = [[NSMutableArray alloc] init];
int x = [temp count];
NSLog(@"%02d", x);
This simple example produces this warning
Implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int'
In a standard app project, the exact same code does not produce this warning.
Its not a big issue, and I can work around it, with this
NSMutableArray *temp = [[NSMutableArray alloc] init];
NSUInteger x = [temp count];
NSLog(@"%02lu", x);
Just wanna know why.
Thanks