gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: +[NSBundle mainBundle] broken for tools?


From: Marcus Müller
Subject: Re: +[NSBundle mainBundle] broken for tools?
Date: Wed, 23 Jul 2003 11:35:31 +0200


On Tuesday, July 22, 2003, at 11:57 AM, Richard Frith-Macdonald wrote:

So path is now: /imagine/your/favourite/path/Resources/tool which is then used for [_mainBundle initWithPath:path] which fails.... So if you have a standalone tool, do you really need this directory-structure for it??? It looks a bit odd to me....

Just curious, but - why would you use +[NSBundle mainBundle] if you don't have resources in your tool project? (Is it because you want to locate classes in the runtime? I probably had a related problem not long ago.)


Cheers,

  Marcus

--
Marcus Mueller  .  .  .  crack-admin/coder ;-)
Mulle kybernetiK  .  http://www.mulle-kybernetik.com
Current projects: finger address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]