i have more than 200 images, and i wish to add them to NSArray with loop, how can i turn this:
NSArray *imgArray = [NSArray arrayWithObjects:
[UIImage imageNamed:@"Ski_Seq0000.jpg"],
[UIImage imageNamed:@"Ski_Seq0001.jpg"],
[UIImage imageNamed:@"Ski_Seq0002.jpg"],
[UIImage imageNamed:@"Ski_Seq0003.jpg"],
[UIImage imageNamed:@"Ski_Seq0004.jpg"],
[UIImage imageNamed:@"Ski_Seq0005.jpg"],
[UIImage imageNamed:@"Ski_Seq0006.jpg"],
[UIImage imageNamed:@"Ski_Seq0007.jpg"],nil];
To loop?
But you should be careful with memory requirements depending on the size of the images.