int vs NSNumber vs NSInteger

Posted by Moshe on Stack Overflow See other posts from Stack Overflow or by Moshe
Published on 2010-06-13T11:18:30Z Indexed on 2010/06/13 11:22 UTC
Read the original article Hit count: 298

I have a line of code that will work differently depending on the datatypes "day" and "1". I believe it is the following although I will check my source code later.

day = day + 1;

Does this make sense? What would the differences be?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c