How do I create an array in Swift/Objective-C for reading values ?

I mean, if I want to store values inside an array like in this example in C#: int[] array = new int [10] for(...), etc array = Convert.ToInt32(Console.Readline()); Most examples I see for creating arrays are filled with values without reading anything from the user. I’d appreciate if anyone could explain how to... Tnx

3/1/2017 11:46:41 PM

Italo Rios

0 Answers

New Answer