Hi,
I'm trying to package two classes I have written (the dreaded
NSTimeDateCell and NSTimeDateView classes). These use a lot of
partially localized resource files (namely, tiffs), so I wanted to
wrap them up in a bundle. The bundle's principal class is
NSTimeDateView, and NSTimeDateCell's +initialize method is supposed
to load all the images.
It turns out it can't find them: In the +initialize method, I'm using
[NSBundle bundleForClass: [self class]];
and the bundle I'm getting is the main bundle, which doesn't contain
the resource files.
What am I doing wrong? Or have I found a bug in NSBundle?
Thanks in advance,
--Bj�rn