What would be the reason to use an NSInteger vs an int in iPhone programming? Thanks.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An
NSIntegeris just a typedef with the following definition:As the typedef is defined differently basing on the platform, you can keep using
NSIntegerindependently from the platform.