I am still running into some errors. Here is my .m file :
-(IBAction)showImage;
{ theimageview.image= [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:@"http://i1197.photobucket.com/albums/aa425/nosleepdev/4.png"]]];
NSMutableArray *yourArray = [NSMutableArray arrayWithObjects:
@"http://i1197.photobucket.com/albums/aa425/nosleepdev/1.jpg", @"http://i1197.photobucket.com/albums/aa425/nosleepdev/2.gif", @"http://i1197.photobucket.com/albums/aa425/nosleepdev/3.gif", @"http://i1197.photobucket.com/albums/aa425/nosleepdev/4.png", @"link5", @"link6", nil];
{
int yourRandomNumber = arc4random() % yourArray.count;
NSString *http;
http:////i1197.photobucket.com/album...sleepdev/4.png = [yourArray objectAtIndex:yourRandomNumber];
} < The errors are both related to this, "Label at the end of compound satement" and "Expected Statement" As well as this I'm getting yellow flagged regarding unused variables "http" and "yourRandomNumber" If you could just explain where I'm going wrong I would greatly appreciate it!
I apologise in advance as I understand this must be very tedious and the problem is probably very obvious. Thank you for helping and thanks for being patient with me.