Ok, I have a class and one of its member variables is of type UIImageView.
I simply want to be able to set the image to a specified file, before I add this class instance to my array.
I can set other variables no problem. Everything is hooked up in IB fine and imageView variable has been retained and synthesized.
What I have:
Code:
[newObject.secHandImageView setImage:[UIImage imageNamed: @"Num0.png"]];
My output check simply produces: secHandImageView.image = image: (null)
Code:
NSLog(@"secHandImageView.image = image: %@", newClock.secHandImageView.image);
Should I be expecting this NSLog to output the image file name?
Either way, anyone got an idea of how I should be setting this image?
Cheers