0481デフォルトの名無しさん
2012/05/13(日) 01:31:35.06Xcode 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];
}
誰か教えてー