maybe i'm ignorant, but the only way i know how to display an image in a view is with this method:
this also requires subclassing and writing the NSView object... it all seems like such overkill just to display an picture...
are there any other more simplistic options?
Code:
- (void)drawRect:(NSRect)rect
{
NSPoint imagePosition;
imagePosition = NSMakePoint(0,0);
aboutImage = [NSImage imageNamed:@"image.png"];
[aboutImage dissolveToPoint: imagePosition fraction:(1.0)];
}
this also requires subclassing and writing the NSView object... it all seems like such overkill just to display an picture...
are there any other more simplistic options?