I want to create a global array, I was looking in to NSMutableArray because you can index it. I need to be able to call specific lines of the array and display via a label the 1st part of the array and compare users input with the second part.
Example is: User sees, press “x” (this is the first part of the array) and if the click one button it will compare that button id to the second part of the array.
Im not familiar with arrays in objective C, links or code snips will help!
It sound like a bit like you have a question answer format…
What you could do is have an
NSArrayof Question the objects that may look something likeNw you can have an indexed array of objects that contain both components you require