I'm trying to load an image in a NSImageView
.
[self.background setImage:[NSImage imageNamed:@"button_selected.png"]];
where background is a NSImageView
.
The bizarre behavior is that I can't view this image unless I create another NSImageView
by InterfaceBuilder and add the same image to it.
Yeah, same image in another NSImageView
make my programmatically NSImageView
work!
Any ideas?!