• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: A question about [NSImage initByReferencingFile:filename]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:12:32 -0700

On 9/4/01 6:17 AM, "Andreas Monitzer" <email@hidden> wrote:

> On Tuesday, September 4, 2001, at 02:44 , Chris Gehlker wrote:
>
>> The docs say that filename can be a relative or absolute path. I'm not
>> having problems when filename is an absolute path. My assumption that
>> relative means relative to the application bundle seems to be false. So my
>> question is "relative to what?".
>
> I guess relative to the current directory, which is ironically / when the
> app is double-clicked from the Finder.

Yep! I built a command line tool to test it. The idea of a command line
image editor is just to foreign for me to have guessed that. In hindsight,
it's obvious.
--
The secret of life is honesty and fair dealing. If you can fake that,
you've got it made. -Groucho Marx


References: 
 >Re: A question about [NSImage initByReferencingFile:filename] (From: Andreas Monitzer <email@hidden>)

  • Prev by Date: Clearing Browser Selection
  • Next by Date: Re: A question about [NSImage initByReferencingFile:filename]
  • Previous by thread: Re: A question about [NSImage initByReferencingFile:filename]
  • Next by thread: Re: A question about [NSImage initByReferencingFile:filename]
  • Index(es):
    • Date
    • Thread