Im looking for a list of all the scalar data types in Objective C, complete with their ranges (max/min values etc).
Sorry for the simple question, Im just really struggling to find anything like this.
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.
intAn integer value between +/– 2,147,483,647.unsigned intAn integer value between 0 and 4,294,967,296.floatA floating point value between +/– 16,777,216.doubleA floating point value between +/– 2,147,483,647.longAn integer value varying in size from 32 bit to 64 bit depending on architecture.long longA 64-bit integer.charA single character. Technically it’s represented as anint.BOOLA boolean value, can be either YES or NO.NSIntegerWhen compiling for 32-bit architecture, same as anint, when compiling for 64-bit architecture,+/– 4,294,967,296.NSUIntegerWhen compiling for 32-bit architecture, same as anunsigned int, when compiling for 64-bit architecture, value between 0 and 2^64Source.