NSInteger
instead of
int
In the code? I see it in many instances, including Apple's official code sample.
There is a similar question here. Com: I use the NSInteger
I like it because it is a future-proof, Apple now uses it on int
, and this is the recommended method of working.
is not "incorrect" to use int
.
No comments:
Post a Comment