What's the purpose of unsigned type here?

Posted by Devoted on Stack Overflow See other posts from Stack Overflow or by Devoted
Published on 2010-06-17T14:16:59Z Indexed on 2010/06/17 14:23 UTC
Read the original article Hit count: 170

Filed under:
|

Sorry for the multitude of iPhone Programming newb questions but..

what is the reason for having an unsigned type for something such as

- (unsigned)count

for the NSArray class.

Why not just define it as

- (int)count

?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c