• 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: How can I standardize a path name? (Cocoa solution wanted)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I standardize a path name? (Cocoa solution wanted)


  • Subject: Re: How can I standardize a path name? (Cocoa solution wanted)
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 25 Jan 2002 19:55:18 +0100

Doug,

>>>>>> Doug Simons (DS) wrote at Fri, 25 Jan 2002 10:28:03 -0700:
DS> Thanks for the suggestion, but I'd really like a Cocoa solution if
DS> possible. It seems like there must be SOME way in Cocoa to get the
DS> actual, case-specific name of a file, including its extension, given the
DS> (possibly not case-specific, but sufficient to access the file) pathname.

So far as the API goes, stringByStandardizingPath is the way to go.

Since OpenStep was never designed to cope with weird things like
case-insensitive filesystem though there might be problems caused by that
(and definitely by aliases!), quite unsolvable at Cocoa level, alas.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc


  • Follow-Ups:
    • Re: How can I standardize a path name? (Cocoa solution wanted)
      • From: Brent Gulanowski <email@hidden>
References: 
 >Re: How can I standardize a path name? (Cocoa solution wanted) (From: Doug Simons <email@hidden>)

  • Prev by Date: Re: How to defer NSDocument:writeToFile:ofType ?
  • Next by Date: Re: Putting window titlebar under menu
  • Previous by thread: Re: How can I standardize a path name? (Cocoa solution wanted)
  • Next by thread: Re: How can I standardize a path name? (Cocoa solution wanted)
  • Index(es):
    • Date
    • Thread