• 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: Brent Gulanowski <email@hidden>
  • Date: Sun, 27 Jan 2002 01:37:52 -0500

On Friday, January 25, 2002, at 01:55 PM, Ondra Cada wrote:

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.
---

Just a suggestion, but isn't that the sort of oversight that the Apple folks are always saying to submit as a bug?

bg


References: 
 >Re: How can I standardize a path name? (Cocoa solution wanted) (From: Ondra Cada <email@hidden>)

  • Prev by Date: [OT] Re: Daemons!
  • Next by Date: Selecting root item of submenu
  • Previous by thread: Re: How can I standardize a path name? (Cocoa solution wanted)
  • Next by thread: How to defer NSDocument:writeToFile:ofType ?
  • Index(es):
    • Date
    • Thread