This may be a silly question, but I’m not all too experienced with iPhone development.
Lets say I have 5 labels, l1, l2, etc,. I want to be able to, lets say, change the font size of l1 or the color of l2 independently, which is easy. But I also want to be able to treat them as a group, lets say hide all of them at once, without having to go through [l1 setHidden:true], [l2 setHidden: true], etc,.
Is there any way of ‘grouping’ these items together, maybe in a for loop or an array or something that I am unaware of?
Thank you for your time.
As the comment from Daniel said, you can do this with an NSArray.
Example (untested, just from my mind – should work):