More or less, I want to have a string called "q0" and I want to get the id for the UIImageView object named q0. Google is not my friend for this problem.
I can change an image like this:
PHP Code:
q0.image = [UIImage imageNamed: imageLocation];
but I would like to change the image like this sudo code:
PHP Code:
NSString *objectName = @"q0";
id imageID = [objectName tag];
UIImageView *currentObject = [UIImageView initWithId: imageID];
currentObject.image = [UIImage imageNamed: imageLocation];