What steps will reproduce the problem?
1. running this code on iPhone simulator is throwing a warning of "warning:
no'-URLString" method found"
// fetch or clear the thumbnail for this specified album
- (void)updateImageForAlbum:(GDataEntryPhotoAlbum *)album {
// if there's a thumbnail and it's different from the one being shown,
// fetch it now
if (!album) {
// clear the image
[mAlbumImageView setImage:nil];
[self setAlbumImageURLString:nil];
} else {
// if the new thumbnail URL string is different from the previous one,
// save the new one, clear the image and fetch the new image
NSArray *thumbnails = [[album mediaGroup] mediaThumbnails];
if ([thumbnails count] > 0) {
NSString *imageURLString = [[thumbnails objectAtIndex:0] URLString];
if (!imageURLString || ![mAlbumImageURLString isEqual:imageURLString]) {
[self setAlbumImageURLString:imageURLString];
[mAlbumImageView setImage:nil];
if (imageURLString) {
[self fetchURLString:imageURLString forImageView:mAlbumImageView];
}
}
}
}
}
What is the expected output?
no warning
What do you see instead?
getting the warning
What version of the product are you using? On what operating system?
iPhone 3.0 OS
Original issue reported on code.google.com by jwang...@gmail.com on 19 Jun 2009 at 8:51
Original issue reported on code.google.com by
jwang...@gmail.com
on 19 Jun 2009 at 8:51