discuss-gnustep
[Top][All Lists]
Advanced

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

Loading a resources bundle


From: Andreas Hoeschler
Subject: Loading a resources bundle
Date: Tue, 2 Sep 2003 18:25:04 +0200

Hi all,

my project consists of a bunch of libraries with accompanying resources bundles ( <library_name>Resources.bundle). In a tool I can do

NSBundle *bundle = [NSBundle bundleWithPath:@"/any_dir/Bundles/FBEnterpriseResources.bundle"];
   NSLog(@"bundle %@", [bundle bundlePath]);

and get my bundle. But if I do exactly the same in an application I get nil. Why? Is this a bug or am I doing anything wrong (not GNUstep like)?

Thanks in advance!

Regards,

  Andreas





reply via email to

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