I have an array with about 30 items. I also have a method that creates a file in a directory with the name based off a string. I need to repeat the method several times, once for each item of the array, until it's done. This is basically what is is (I realize createDirectory won't work, it's just to make the example shorter):
How could I get that to work, once for each item in the array, loading the array item to the %@? Ideas? Please?
Code:
- (void)theMethod {
createDirectoryWithTitle:%@;
}