On Oct 5, 2012, at 7:23 PM, koko wrote:

> Where would one get these images as their is no bundle where that can be 
> stored?
> 
> Or the question is where are resources for a static coco library stored?

Although it's technically possible to put images (or anything) into the library 
itself (const char image[] = {0x01, 0x0C, 0x0F, ....})  it's not a good plan. 
Either use a framework to keep the images bundled with the library, or you will 
have to bundle the images into the the bundle of the executable the library is 
linked into, and you can use [[NSBundle bundleForClass:[AClassInYourLibrary 
class]] pathForResource:...] to look in the right place for the images.


--
Seth Willits





_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to