Skip to content

Instantly share code, notes, and snippets.

@atg
Forked from derekr/gist:96464
Created April 16, 2009 15:16
Show Gist options
  • Save atg/96466 to your computer and use it in GitHub Desktop.
Save atg/96466 to your computer and use it in GitHub Desktop.
- (NSImage *)image
{
NSString *path = [[NSBundle bundleForClass:[self class]] pathForResource:@"document__plus" ofType:@"png"];
NSImage *image = [[NSImage alloc] initWithContentsOfFile:path];
NSLog(@"image %@", image);
return [image autorelease];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment