0 Replies Latest reply: Mar 27, 2011 7:07 PM by paniclabs
paniclabs Level 1 Level 1 (15 points)
I'm giving a status bar item an image through NSImage. I'm running into were the app builds and opens in the status bar, but the image I want dosen't display. I receive a warning saying "Incompatible pointer types sending 'NSString' to parameter of type "NSImage". It's displayed to this code...


- (void)setImage:(NSImage *)image{
[statusItem setImage:@"cargo-menu.png"];
}
-(void)setAlternateImage:(NSImage *)image{

}

iMac, Mac OS X (10.6.6), Mac Mini/MacBook Pro