Re: images bundled with framework
Re: images bundled with framework
- Subject: Re: images bundled with framework
- From: Jiri Volejnik <email@hidden>
- Date: Tue, 6 Dec 2005 12:23:59 +0100
Hi Alexey,
I do it this way:
NSBundle* bundle = [NSBundle bundleForClass:[self class]];
NSString* path = [NSBundle pathForResource:name ofType:@"tiff"
inDirectory:[bundle bundlePath]];
NSImage* image = [[NSImage alloc] initByReferencingFile:path];
Jiri
Hi!
What is the proper method for accessing images, that are bundled with
framework from within that framework?
I put some controls which are used in my program into the framework,
and "hide" it inside my applications bundle.
those controls have some images associated with them.
--
Alexey Zakhlestin
Milk Farm Software, ltd. CEO
http://www.milkfarmsoft.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden