Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A question about [NSImage initByReferencingFile:filename]



On 9/4/01 6:44 AM, "Ondra Cada" <email@hidden> wrote:

> Chris,
>
>>>>>>> Chris Gehlker (CG) wrote at Tue, 04 Sep 2001 05:44:57 -0700:
> CG> The docs say that filename can be a relative or absolute path. I'm not
> CG> having problems when filename is an absolute path. My assumption that
> CG> relative means relative to the application bundle seems to be false. So
> CG> my question is "relative to what?".
>
> What about the current path? ([[NSFileManager defaultManager]
> currentDirectoryPath])

That's what it means, alright. See Andreas's post for irony.

> Nevertheless, I would recommend using absolute paths (almost) exclusively.

It seems I am forced to except in CLI tools.
--
Some people say Windows users have an inferiority complex.
That's not true. It's not a complex.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.