If NSInteger is just like a regular int then why does it exist and what is its purpose in being called NSInteger?
int
NSInteger
I\'m new to Mac OS X prog
Other than the typedef being different on different systems (long on 64-bit systems, int on 32-bit), there isn't much of a reason.
long
Arguably, it gives the impression that an NSInteger is an object, when it's not.