NSImage acting weird

Posted by Chetan on Stack Overflow See other posts from Stack Overflow or by Chetan
Published on 2010-02-03T06:06:08Z Indexed on 2010/04/20 23:43 UTC
Read the original article Hit count: 165

Filed under:
|
|
|

Why is this code setting artistImage to an image with 0 width and 0 height?

NSURL *artistImageURL = [NSURL URLWithString:@"http://userserve-ak.last.fm/serve/252/8581581.jpg"];
NSImage *artistImage = [[NSImage alloc] initWithContentsOfURL:artistImageURL];

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about nsimage