sorry for the simple question but how do you make a CAlayers using a for loop? I have this now but what is the proper way of doing this?
for (int n = 1; n <= 6; n++) {
NSString *theCloud = [NSString stringWithFormat:@"cloudImage%d",n];
NSString *theCloudLayer = [NSString stringWithFormat:@"cloudLayer%d",n];
CALayer *theCloudLayer = theCloud.layer;
}
any help is appreciated.