Hey there,
I'm trying to assign a background image to my AppleScript Studio app, and I know it can be accomplished via:
-(void)windowDidLoad
{
NSColor* color = [NSColor colorWithPatternImage: [NSImage imageNamed: @"silverGradient"]];
[[self window] setBackgroundColor: color];
}
However, just adding this to main.m throws an error. I tried putting it in an @implementation block for NSWindow, but it throws a bunch of warnings, saying it's not a complete implementation of NSWindow (since I only have one method there, I think it might be right

). Any suggestions? I'm very new to Cocoa.