This doesn't do anything:
NSImage* testImage = [[NSImage alloc] initWithSize:NSMakeSize(2.0,2.0)];
[testImage lockFocus];
[[NSImage imageNamed:@"testImage"] drawAtPoint:NSMakePoint(1.0,1.0) fromRect:NSZeroRect operation:NSCompositeCopy fraction:1.0];
[testImage unlockFocus];
[levelView setImage:testImage];
...but this does:
[levelView setImage:[NSImage imageNamed:@"testImage"]];
Seems to me if the latter produces visible results, so should the former. I assume I'm making a stupid mistake somewhere?