-3

Possible Duplicate:
How to add an integer value into NSMutableArray?

I wants to create a new array and add to it all the numbers between 0 and 100 (programmatically) and print the sum of all the these numbers. I prefer using fast enumeration instead for statement. Thank you all.

0

1 Answer 1

2

You need to use [NSNumber numberWithInt:intValue] in order to put ints into NSMutableArray.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.