NSImageCell *imageFromBundle;
NSData *imageData;
NSURL *imageURL = [NSURL URLWithString:@"http://www.greatwhatsit.com/wp-content/uploads/2012/03/jeremiah1.jpg"];
NSLog(@"url");
NSLog(@"data");
NSImage *imageFromBundle = [[NSImage alloc] initWithData:imageData];
为什么这段代码没有工作。的Xcode 4.6为什么此代码不断出现错误。 xCode 4.6
谈到了“与不同类型的‘imageFromBundle’的重新定义:‘NSImage中* _strong’VS‘NSImageCell * _strong’究竟发生了什么,我已经改变了一切,它仍然来了同样的错误 – user2164473 2013-03-13 08:45:36