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?
home / developersection / forums / difference between nsinteger and nsuinteger
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?
Tarun Kumar
02-Dec-2015You 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.