NSMutableArray *Number=[NSArray arrayWithObjects: @"1", @"2", @"3", @"4", @"5", @"6", nil];
I have an array of integer and need to read them one by one.
Can anyone please tell me how to code it?
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.
Actually, you have an array of NSStrings.
Note also that assigning an NSArray instance to an NSMutableArray* reference doesn’t make much sense.
In any case, you could:
Note that you should name variables starting with a lower case letter. Prevents confusion and conflicts with class names (what if you wanted to create a class named
Numberlater?).