Hey guys...
If I have a bunch of objects named "sq1", "sq2", "sq3", etc. Is there an easy way to reference each from within a for loop?
For instance, in ActionScript I could do...
...or something like that. Is there an Objective-C equivalent?
If I have a bunch of objects named "sq1", "sq2", "sq3", etc. Is there an easy way to reference each from within a for loop?
For instance, in ActionScript I could do...
Code:
this["sq"+i]
...or something like that. Is there an Objective-C equivalent?