I am currently working on a project where I woud, parse the JSON and store a JSON Object into an array.
I do something like this:
NSArray *value = [JSONObject valueForKey:@"value"];
I have all my values in the array value.
How would I, collect the last 10 values from this array and store it in a second array?
Any help is really appreciated.
Thank you very much in advance.
Take a look at this method. (Here is a link to the documentation.)
So in your case it would be: