• 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: CFURLRef -> NSFileManager path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFURLRef -> NSFileManager path


  • Subject: Re: CFURLRef -> NSFileManager path
  • From: Patrick Tescher <email@hidden>
  • Date: Wed, 12 Jun 2002 21:14:52 -0700

This may seem easy but how do I make a NSString from from the output of FSRefMakePath?

On Tuesday, June 11, 2002, at 05:56 PM, Jonathan Stocks wrote:

Hi Patrick,

Have you taken a look at FSRefMakePath(...). This might do what you want.
You can find information about it at:

http://developer.apple.com/techpubs/macosx/Carbon/Files/FileManager/File_Man
ager/Functions/Converting_B_f_Structures.html

This might do what you are looking for (or at least help).
Thanks,
Jon

-----Original Message-----
From: email@hidden
[mailto:email@hidden]On Behalf Of Patrick Tescher
Sent: Tuesday, June 11, 2002 5:47 PM
To: email@hidden
Subject: CFURLRef -> NSFileManager path


Is there an easy way to take a CFURLRef that points to a local file and turn
it into a string that can be read by NSFilemanager so I could do something
like fileExistsAtPath? I don't know anything about carbon and I would like
to get back to cocoa as fast as possible :)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: CFURLRef -> NSFileManager path
      • From: Jonathan Stocks <email@hidden>
References: 
 >RE: CFURLRef -> NSFileManager path (From: "Jonathan Stocks" <email@hidden>)

  • Prev by Date: Re: my utility window stole keyWindow! [resolved]
  • Next by Date: math.h undefined logf()
  • Previous by thread: RE: CFURLRef -> NSFileManager path
  • Next by thread: Re: CFURLRef -> NSFileManager path
  • Index(es):
    • Date
    • Thread