In my app the user has twelve buttons available, and I have defined twelve NSMutableArrays. If the user clicks button one, the app should count the number of objects in the Comp1 array, or if user clicks button two, the app should count the number of objects in the Comp2 array, and so on.
When user clicks a button, I save the name of the respective NSMutableArray in a NSString -- for example, myString = @"Comp1". My problem is, how do I "define" the NSMutableArray name with myString?
I wish there was a method like: [NSMutableArray arrayWithTitle:myString].