Can any one tell me the difference between NSInteger and NSUInteger in Objective-C?
Which is better to use in an application and why it is better?
Can any one tell me the difference between NSInteger and NSUInteger in Objective-C?
Which is better to use in an application and why it is better?
You always be aware of integer conversion rules dealing with NSInteger and NSUInteger.
For example: NSInteger can takes and returns negative values, and NSUInteger takes values and returns only unsigned values.