[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSBundle exception
From: |
Chris Vetter |
Subject: |
Re: NSBundle exception |
Date: |
Fri, 23 Sep 2005 09:30:52 +0200 (MEST) |
On Thu, 22 Sep 2005 08:37:43, Adam wrote:
> On 2005-09-21 08:33:38 -0600 Chris Vetter <cbv@gmx.net> wrote:
> > I just got a
> > ./shared_obj/example: Uncaught exception NSGenericException, reason:
> > method
> > pathsForResourcesOfType:inDirectory:forLocalization: not implemented
> > in NSBundle(instance)
> > Is there some appropriate work-around for the missing method (besides
> > sending an actual implementation for -base) ?
> Not that I know of, other than catching the exception. I thought it
> might work to redefine -[NSObject notImplemented:] to do that, but
> -notImplemented is already in a category so it would be tough to
> override.
Uhm, catching the exception wouldn't be a problem, but also no solution ;-)
I meant a work-around for the missing
NSBundle-pathsForResourcesOfType:inDirectory:forLocalization: using methods
that actually exist/work, as there is
NSBundle-pathsForResourcesOfType:inDirectory: and setting the localization
for it some other way...?
--
Chris
--
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner