discuss-gnustep
[Top][All Lists]
Advanced

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

NSBundle -pathForResource: ofType:


From: Jonathan Gapen
Subject: NSBundle -pathForResource: ofType:
Date: Sun, 04 Feb 2001 00:11:05 -0600

    I just noticed a fun contradiction between OPENSTEP 4.2 and MacOS
X.  According to the OPENSTEP 4.2 documentation, NSBundle's
-pathForResource: ofType: "first looks for the resource in the
language-specific ``.lproj'' directory [...]; if the resource is not
there, it looks for a non-localized resource in the immediate bundle
directory."  Apple's MacOS X documentation says the method "first looks
for a non-localized resource in the immediate bundle directory; if the
resource is not there, it looks for the resource in the
language-specific ``.lproj'' directory [...]."
    Not only is this an incompatibility between OPENSTEP and MacOS X,
it's a pretty boneheaded change, IMHO.  Is this actual MacOS X behavior,
or a documentation flaw?

-- 
All persons, living or dead, are purely coincedental.



reply via email to

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