NSImageってどうやって使うの?
Xcode 3.2.6なんだけど、何故か表示できない。
xibでcustom view追加しないで表示したいんだけど出来ない。
コレできないとゲーム作れないよー(´・ω・`)ショボーン

-(void)drawInRect:(NSRect)dirtyRect{
NSImage *outPutImage = [NSImage imageNamed:@"sample.jpg"];

[outPutImage drawAtPoint:NSMakePoint(0, 0)
fromRect:NSMakeRect(0,0,100,100)
operation:NSCompositeSourceOver
fraction:1.0];
}

誰か教えてー