Re: A question about [NSImage initByReferencingFile:filename]
Re: A question about [NSImage initByReferencingFile:filename]
- Subject: Re: A question about [NSImage initByReferencingFile:filename]
- From: Chris Gehlker <email@hidden>
- Date: Tue, 04 Sep 2001 07:15:19 -0700
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.