If I wanted to create a UIImage for example, what would be the difference in the following two lines of code:
UIImage *img = [UIImage imageWithCGImage:cgImage];
UIImage *img = [[UIImage alloc] initWithCGImage:cgImage];
Is it just a case of "same end, different means"?